Ticket #18817 (closed defect: invalid)
qucs doesn't work with qt3 and doesn't build with qt3-mac
| Reported by: | janp@… | Owned by: | rowue@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | qucs |
Description (last modified by macsforever2000@…) (diff)
qucs works just fine on my linux lap-top and may be the solution as I'm beginning to loose patience with it.
In any case it builds just fine with qt3 but on intel mac it I get cannot connect to x server /tmp/(i forget what it is) and on my powerbook G4 it runs but entering text does not work but goes to the calling shell.
I tried uninstallying qt3 and installing qt3-mac after build problems were partially solved i.e. it built with warnings about macport directory structure violations which I was told was an old problem with a link to a ticket that did not even distantly resemble the problem. So I don't know what to do about that one.
the result of an attempt to build it with qt3-mac is as follows
calendula-2:~ janp$ sudo port install qucs Password: Error: Unable to execute port: couldn't change working directory to "/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/qt3": no such file or directory
I haven't tried it on the power book. I was told this was a qucs problem but suspect that since a file (or directory) isn't where it is supposed to be it's the fault of the misplaced file and the program or library it belongs to.
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to rowue@…
- Port set to qucs
comment:3 follow-up: ↓ 4 Changed 4 years ago by macsforever2000@…
Try the following:
sudo port selfupdate sudo port clean --all qucs qt3 sudo port install qucs
comment:4 in reply to: ↑ 3 ; follow-up: ↓ 5 Changed 4 years ago by janp@…
Replying to macsforever2000@…:
Try the following:
sudo port selfupdate sudo port clean --all qucs qt3 sudo port install qucs
Makes it worse apparently.It doesn't get so far as getting qt3 or qucs
---> Attempting to fetch libXext-1.0.5.tar.bz2 from http://distfiles.macports.org/xorg-libXext ---> Verifying checksum(s) for xorg-libXext ---> Extracting xorg-libXext ---> Configuring xorg-libXext Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXext/work/libXext-1.0.5" && ./configure --prefix=/opt/local " returned error 1 Command output: checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.6.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XEXT... configure: error: Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.5 xau) were not met: Requested 'xproto >= 7.0.13' but version of Xproto is 7.0.11 Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'X11', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XEXT_CFLAGS and XEXT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error: The following dependencies failed to build: qt3 mesa xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice Error: Status 1 encountered during processing.
comment:5 in reply to: ↑ 4 Changed 4 years ago by janp@…
Replying to janp@…:
Replying to macsforever2000@…:
Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable
I should add that I have tried that.
comment:6 follow-up: ↓ 7 Changed 4 years ago by macsforever2000@…
Now try:
sudo port upgrade outdated sudo port clean xorg-libXext sudo port install qucs
comment:7 in reply to: ↑ 6 Changed 4 years ago by janp@…
Replying to macsforever2000@…:
Now try:
sudo port upgrade outdated sudo port clean xorg-libXext sudo port install qucs
Now it gets as far as trying to qt3 but still fails and xfig and I don't know what else is now broken too so I'm giving up on it.
comment:8 Changed 4 years ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to invalid
We can re-open the ticket if you want to post some error logs.
comment:9 Changed 4 years ago by rowue@…
Short comment: compiled qucs with setting +system_x11 in /opt/local/etc/macports/variants.conf half an hour ago and got working qucs (fresh macports install) on OS X 10.4.11 - will check macports x11 now ...
Changing to qt3-mac is on the agenda - but need some spare time for this (#13517 has higher priority)
comment:10 Changed 4 years ago by macsforever2000@…
I'd rather see qucs use qt4-mac instead.
comment:11 follow-up: ↓ 12 Changed 4 years ago by rowue@…
comment:12 in reply to: ↑ 11 Changed 4 years ago by janp@…
comment:13 follow-up: ↓ 14 Changed 4 years ago by rowue@…
Mine says qt3-mac:
bratapfel:~ rowue$ port deps qucs
qucs has library dependencies on:
qt3-mac
freehdl
bratapfel:~ rowue$
Have you done port sync?
comment:14 in reply to: ↑ 13 Changed 4 years ago by janp@…
Replying to rowue@…:
Mine says qt3-mac:
Have you done port sync?
I have now. It installs and builds with qt3-mac but does nothing apart from exit normally after the first click on anything in the qucs window.
comment:15 follow-up: ↓ 16 Changed 4 years ago by rowue@…
Which OS X are you using Tiger/Leopard (Tiger here). Can you provide us some error-log (from console perhaps). I can do an test run on leopard, but this will take time, because I have to run from my USB drive and can't be productional in this time (at least on the mac)
comment:16 in reply to: ↑ 15 Changed 4 years ago by janp@…
Replying to rowue@…:
Which OS X are you using Tiger/Leopard (Tiger here). Can you provide us some error-log (from console perhaps). I can do an test run on leopard, but this will take time, because I have to run from my USB drive and can't be productional in this time (at least on the mac)
I'm using Leopard qucs 12 (maybe 11) was working with Tiger but I upgraded and X windows is implemented differently (as I understand it) on Leopard that broke it so I tried upgrading without success.
There is no error log that I'm aware of it all seems to build just fine but when I try running it it just hangs but will exit normally with either C od click on "X" in the window frame. If you want me to try something and check results I will but beware I'm not much of a programmer working as I do with hardware I'm fine with various assemblers and some Fortran or Forth or Perl but little else.
comment:17 follow-ups: ↓ 18 ↓ 19 Changed 4 years ago by rowue@…
Compiled und tested qucs 0.0.14 on Leopard. Works as expected (including icon). I don't now how many ports you have installed. Maybe doing
port clean installed port -f uninstall installed port sync port install qucs
(sudo'ed) will help. You should find qucs below /Application/MacPorts in clickable fashion afterwards
comment:18 in reply to: ↑ 17 Changed 4 years ago by janp@…
Replying to rowue@…:
Compiled und tested qucs 0.0.14 on Leopard. Works as expected (including icon). I don't now how many ports you have installed.
I had none installed which doing upgrade outdated which broke xfig I deleted the whole /opt directory.
comment:19 in reply to: ↑ 17 Changed 4 years ago by janp@…
Replying to rowue@…:
Compiled und tested qucs 0.0.14 on Leopard. Works as expected (including icon). I don't now how many ports you have installed. Maybe doing
port clean installed port -f uninstall installed port sync port install qucs
(sudo'ed) will help. You should find qucs below /Application/MacPorts in clickable fashion afterwards
After doing the above the rebuild stopped demanding a newer version of Xcode after installing that the rebuild ran to completed with warnings
---> Staging qt3-mac into destroot Warning: violation by /opt/local/translations Warning: qt3-mac violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
and it seems to work now. Thank you
comment:20 follow-up: ↓ 21 Changed 4 years ago by rowue@…
If you want the Utils working, you should upgrade to 14_5 - was just wip
comment:21 in reply to: ↑ 20 Changed 4 years ago by janp@…
Replying to rowue@…:
If you want the Utils working, you should upgrade to 14_5 - was just wip
Yep I had discovered that the utils weren't working but all appears fine now once again thanks.

