pkgsrc-Users archive

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

Re: x11/efltk



On Tue, Oct 06, 2009 at 04:00:54PM -0500, Larson, Timothy E. wrote:
> Has anyone had a chance to look at this?  I'm afraid I don't have the 
> insights to the guts of pkgsrc to be able to figure this one out.  
> 
> I just tried to build this again, and it's complaining about a missing 
> ftheader.h, but the link is there.  I believe this is different than I was 
> seeing last time I posted, but I've updated my tree and some packages since 
> then, too.  The one thing that seems peculiar to me is that the include line 
> is for freetype/config/ftheader.h but the path under .buildlink/include is 
> freetype2/freetype/config/ftheader.h. 

The build error I see is:
Linking efluid...
c++ -o /scratch/wip/efltk/work/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  /scratch/wip/efltk/work/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 
/scratch/wip/efltk/work/efltk/lib/libefltk.so.2.0  -lX11 -lXext -lm 
-Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXft -lX11 -lfreetype -lz -lfontconfig 
-lXrender -liconv

in work/.work.log I see:
[*] /scratch/wip/efltk/work/.wrapper/bin/c++ 
/scratch/wip/efltk/work/.wrapper/bin/c++ -o 
/scratch/wip/efltk/work/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 
/scratch/wip/efltk/work/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 
/scratch/wip/efltk/work/efltk/lib/libefltk.so.2.0 -lX11 -lXext -lm 
-Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXft -lX11 -lfreetype -lz -lfontconfig 
-lXrender -liconv
<.> /scratch/wip/efltk/work/.gcc/bin/g++ -o 
/scratch/wip/efltk/work/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 
-L/scratch/wip/efltk/work/efltk/lib -L/scratch/wip/efltk/work/.buildlink/lib 
-Wl,-R/usr/pkg/lib -L/scratch/wip/efltk/work/.x11-buildlink/lib 
-Wl,-R/usr/X11R7/lib -I/scratch/wip/efltk/work/.buildlink/include  
-lefltk_images -ljpeg -lpng -lz -lefltk -lX11 -lXext -lm -lXft -lX11 -lfreetype 
-lz -lfontconfig -lXrender

In other words,
/scratch/wip/efltk/work/efltk/lib/libefltk_images.so.2.0 is replaced
by -L/scratch/wip/efltk/work/efltk/lib and -lefltk_images -- which
might work if libefltk_images.so existed, but only
libefltk_images.so.2.0 exists.

Perhaps you can change the build so that it makes symlinks from .so to
.so.2.0?
 Thomas


Home | Main Index | Thread Index | Old Index