qucs build error

Ryan Schmidt ryandesign at macports.org
Wed May 13 20:08:58 PDT 2009


On May 13, 2009, at 08:25, Bjarne Bäckström wrote:

> On OS X 10.4.11 (intel) with a freshly installed MacPorts:
>
> [...]
> /usr/bin/g++-4.0  -O2 -pipe -fno-exceptions -fno-check-new  -L/opt/ 
> local/lib -o qucs  -L/lib  node.o element.o qucsdoc.o wire.o  
> mouseactions.o qucs.o main.o wirelabel.o qucs_init.o qucs_actions.o  
> viewpainter.o mnemo.o schematic.o schematic_element.o textdoc.o  
> schematic_file.o qucs.moc.o schematic.moc.o textdoc.moc.o  
> components/libcomponents.a diagrams/libdiagrams.a paintings/ 
> libpaintings.a dialogs/libdialogs.a -L/usr/X11R6/lib  -lSM -lICE - 
> lX11  -lqt-mt
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning -L: directory  
> name (/lib) does not exist
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> QPaintDevice::setX11Data(QPaintDeviceX11Data const*)
> QWidget::create(unsigned long, bool, bool)
> QWidget::x11Event(_XEvent*)
> QPaintDevice::x11RenderHandle() const
> collect2: ld returned 1 exit status
> make[3]: *** [qucs] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

Indeed, there should not be any directory "/lib". I wonder why qucs  
is trying to look there.

Maybe it's something similar to this problem?

http://trac.macports.org/wiki/ 
ProblemHotlist#Aportfailedtobuildwithamessagereferringto1lib:Nosuchfileo 
rdirectory

Do you have anything in /usr/local? That can interfere too.

I just build qucs with no problem on Mac OS X 10.4.11 Intel with  
Xcode 2.5 and MacPorts 1.7.1.





More information about the macports-users mailing list