Package: netgen
Version: 4.4-5
Severity: serious
Tags: patch

From my pbuilder build log:

...
make[2]: Leaving directory `/tmp/buildd/netgen-4.4/ngsolve'
gcc -o ng ngtcltk/ngappinit.o ngtcltk/ngpkg.o togl/togl.o ngtcltk/demoview.o 
onetcl.o -L./lib/LINUX -lGL -lGLU -lX11 -lXext -lXmu    -L/usr/openwin/lib 
-L/usr/X11R6/lib -L/usr/lib/GL3.5 -lstdc++   lib/LINUX/*.o -lngsolvebasic     
-lnginterface -lvis -lcsg -lstlgeom -lgeom2d -lmesh -lgprim -lopti -lla -lgen  
-locc   -lTix8.4 -ltk8.4  -ltcl8.4 -lGL -lGLU -lX11  -lXi -lm  -ldl -lpthread
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [ng] Error 1
make[1]: Leaving directory `/tmp/buildd/netgen-4.4'
make: *** [debian/stamp-makefile-build] Error 2

I've attached a patch which fixes this by dropping the -lXi flag, which
doesn't actually seem to be needed.
-- 
Daniel Schepler
diff -urN netgen-4.4.old/Makefile netgen-4.4/Makefile
--- netgen-4.4.old/Makefile	2006-06-03 20:16:43.000000000 +0000
+++ netgen-4.4/Makefile	2006-06-03 20:18:52.000000000 +0000
@@ -29,7 +29,7 @@
 # tcltklib = -ltix8.2 -ltk8.4 -ltcl8.4
 #
 #
-syslib = $(tcltklib) -lGL -lGLU -lX11  -lXi -lm  -ldl -lpthread $(SYSLIB2)
+syslib = $(tcltklib) -lGL -lGLU -lX11 -lm  -ldl -lpthread $(SYSLIB2)
 # (maybe you have to remove -ldl)
 #
 #

Reply via email to