pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: x11/efltk



The code builds fine outside the pkgsrc framework.  I gave it the same 
configure line that is generated by pkgsrc, and it works.  Inside pkgsrc:

Compiling function_panel.cpp...
Compiling coding_style.cpp...
Compiling coding_style_func.cpp...
Linking efluid...
c++ -o /usr/pkgsrc/x11/efltk/work.i386/efltk/bin/efluid Fl_Function_Type.o 
Fl_Menu_Type.o Fl_Group_Type.o Fl_Widget_Type.o Fl_Type.o Fl_Window_Type.o 
Fluid_Image.o Fluid_Plugins.o code.o factory.o file.o fluid.o about_panel.o 
widget_panel.o alignment_panel.o function_panel.o coding_style.o 
coding_style_func.o  
/usr/pkgsrc/x11/efltk/work.i386/efltk/lib/libefltk_images.so.2.0 -ljpeg -lpng 
-lz -L/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib 
-Wl,-R/usr/X11R7/lib 
-L/usr/X11R7/lib /usr/pkgsrc/x11/efltk/work.i386/efltk/lib/libefltk.so.2.0  
-lX11 -lXext -lm -L/usr/pkg/lib -lXft -lX11 -L/usr/pkg/lib -lfreetype -lz 
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lfontconfig -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -L/usr/X11R6/lib -lXrender -lX11 -liconv
ld: cannot find -lefltk_images
gmake[2]: *** [efluid] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/efltk/work.i386/efltk/tools/efluid'
gmake[1]: *** [programs] Error 2


Outside pkgsrc:

Compiling function_panel.cpp...
Compiling coding_style.cpp...
Compiling coding_style_func.cpp...
Linking efluid...
g++ -o /home/tim/downloads/efltk/bin/efluid Fl_Function_Type.o Fl_Menu_Type.o 
Fl_Group_Type.o Fl_Widget_Type.o Fl_Type.o Fl_Window_Type.o Fluid_Image.o 
Fluid_Plugins.o code.o factory.o file.o fluid.o about_panel.o widget_panel.o 
alignment_panel.o function_panel.o coding_style.o coding_style_func.o  
/home/tim/downloads/efltk/lib/libefltk_images.so.2.0 -ljpeg -lpng -lz 
-L/usr/pkg/lib 
-L/usr/X11R7/lib /home/tim/downloads/efltk/lib/libefltk.so.2.0  -lX11 -lXext 
-lm -L/usr/pkg/lib -lXft -lX11 -L/usr/pkg/lib -lfreetype -lz -Wl,-R/usr/pkg/lib 
-L/usr/pkg/lib -lfontconfig -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib 
-L/usr/pkg/lib -L/usr/X11R6/lib -lXrender -lX11 -liconv
gmake[2]: Leaving directory `/home/tim/downloads/efltk/tools/efluid'
gmake[2]: Entering directory `/home/tim/downloads/efltk/tools/etranslate'
Compiling main.cpp...


This difference is this part, right in the middle of the pkgsrc version:

-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib 
-Wl,-R/usr/X11R7/lib

Not sure why this would make a difference though - I think it's just adding to 
the library search path.  Anyone more versed in the GNU toolchain that can 
confirm this is the problem?  Anyone more versed in pkgsrc that can explain why 
this happens?


Tim


Home | Main Index | Thread Index | Old Index