Thread: [XonX-Users] compiling RC2
Brought to you by:
torrey
From: Yves de C. <yv...@gn...> - 2003-12-29 01:44:58
|
making all in lib/GL/GL... rm -f libGL.a ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o $(GLXLIBSRC)/apple/unshared/appledri.o $(GLXLIBSRC)/apple/unshared/dri_dispatch.o $(GLXLIBSRC)/apple/unshared/dri_driver.o $(GLXLIBSRC)/apple/unshared/dri_glx.o $(GLXLIBSRC)/apple/unshared/x-list.o $(GLXLIBSRC)/apple/unshared/x-hash.o /bin/sh: line 1: GLXLIBSRC: command not found /bin/sh: line 1: GLXLIBSRC: command not found /bin/sh: line 1: GLXLIBSRC: command not found /bin/sh: line 1: GLXLIBSRC: command not found /bin/sh: line 1: GLXLIBSRC: command not found /bin/sh: line 1: GLXLIBSRC: command not found ar: /apple/unshared/appledri.o: No such file or directory ar: /apple/unshared/dri_dispatch.o: No such file or directory ar: /apple/unshared/dri_driver.o: No such file or directory ar: /apple/unshared/dri_glx.o: No such file or directory ar: /apple/unshared/x-list.o: No such file or directory ar: /apple/unshared/x-hash.o: No such file or directory *** Error code 1 I'm on MacOSX 10.3.2 and out-of-the-box gnumake and other tools I'm also doing a "clean" install with no X11 installation present My previous XFree86 installed version was a CVS head from november and it did not have this problem. Of course, there are some other problems that come from the fact that there is no libGL that is built... yves |
From: Torrey L. <to...@mr...> - 2003-12-30 06:38:59
|
At 8:43 PM -0500 12/28/03, Yves de Champlain wrote: >making all in lib/GL/GL... >rm -f libGL.a >ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o >$(GLXLIBSRC)/apple/unshared/appledri.o >$(GLXLIBSRC)/apple/unshared/dri_dispatch.o >$(GLXLIBSRC)/apple/unshared/dri_driver.o >$(GLXLIBSRC)/apple/unshared/dri_glx.o >$(GLXLIBSRC)/apple/unshared/x-list.o >$(GLXLIBSRC)/apple/unshared/x-hash.o >/bin/sh: line 1: GLXLIBSRC: command not found >/bin/sh: line 1: GLXLIBSRC: command not found >/bin/sh: line 1: GLXLIBSRC: command not found >/bin/sh: line 1: GLXLIBSRC: command not found >/bin/sh: line 1: GLXLIBSRC: command not found >/bin/sh: line 1: GLXLIBSRC: command not found >ar: /apple/unshared/appledri.o: No such file or directory >ar: /apple/unshared/dri_dispatch.o: No such file or directory >ar: /apple/unshared/dri_driver.o: No such file or directory >ar: /apple/unshared/dri_glx.o: No such file or directory >ar: /apple/unshared/x-list.o: No such file or directory >ar: /apple/unshared/x-hash.o: No such file or directory >*** Error code 1 > >I'm on MacOSX 10.3.2 and out-of-the-box gnumake and other tools When you say "out-of-the-box", I assume you mean using Apple's standard developer tools with no customization or replacing Apple system utilities with other things from the GNU project in your path? For some reason GLXLIBSRC is not getting defined in your Makefile. The command should look like: ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o ../../../lib/GL/apple/unshared/appledri.o ../../../lib/GL/apple/unshared/dri_dispatch.o ../../../lib/GL/apple/unshared/dri_driver.o ../../../lib/GL/apple/unshared/dri_glx.o ../../../lib/GL/apple/unshared/x-list.o ../../../lib/GL/apple/unshared/x-hash.o >I'm also doing a "clean" install with no X11 installation present > >My previous XFree86 installed version was a CVS head from november and it >did not have this problem. Of course, there are some other problems >that come from the fact that there is no libGL that is built... Yeah, without libGL, things go badly. Also, do you have any special config in host.def? It looks like you have fallen into a special edge case and it would be very useful to figure out what the problem is to save others from it. --Torrey |
From: Yves de C. <yv...@gn...> - 2003-12-30 15:28:10
|
Le 03-12-30, =E0 01:38, Torrey Lyons a =E9crit : > At 8:43 PM -0500 12/28/03, Yves de Champlain wrote: >> making all in lib/GL/GL... >> ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o=20 >> $(GLXLIBSRC)/apple/unshared/appledri.o=20 >> $(GLXLIBSRC)/apple/unshared/dri_dispatch.o=20 >> $(GLXLIBSRC)/apple/unshared/dri_driver.o=20 >> $(GLXLIBSRC)/apple/unshared/dri_glx.o=20 >> $(GLXLIBSRC)/apple/unshared/x-list.o=20 >> $(GLXLIBSRC)/apple/unshared/x-hash.o >> I'm on MacOSX 10.3.2 and out-of-the-box gnumake and other tools > > When you say "out-of-the-box", I assume you mean using Apple's=20 > standard developer tools with no customization or replacing Apple=20 > system utilities with other things from the GNU project in your path? exactly ... but I just realize that system sed is overriden by one from=20= FreeBSD, I'll look into this > For some reason GLXLIBSRC is not getting defined in your Makefile.=20 > The command should look like: > > ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o=20 > ../../../lib/GL/apple/unshared/appledri.o=20 > ../../../lib/GL/apple/unshared/dri_dispatch.o=20 > ../../../lib/GL/apple/unshared/dri_driver.o=20 > ../../../lib/GL/apple/unshared/dri_glx.o=20 > ../../../lib/GL/apple/unshared/x-list.o=20 > ../../../lib/GL/apple/unshared/x-hash.o I have looked the Makefile and $(GLXLIBSRC) is defined ok as=20 ../../../lib/GL through TOP XTOP etc... The problem seems to come from the variable expansion in=20 lib/GL/GL/Makefile: APPLEOBJS =3D appledri.o dri_dispatch.o dri_driver.o dri_glx.o=20 x-list.o x-hash.o DRIOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/%.o) DRIUOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/unshared/%.o) DRIDOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/debugger/%.o) DRIPOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/profiled/%.o) Is that the way it should read ? I'm not too proficient with these=20 rules thanks yves |
From: Torrey L. <to...@mr...> - 2003-12-30 22:36:28
|
At 10:26 AM -0500 12/30/03, Yves de Champlain wrote: >Le 03-12-30, =E0 01:38, Torrey Lyons a =E9crit : > >>At 8:43 PM -0500 12/28/03, Yves de Champlain wrote: >>>making all in lib/GL/GL... >>>ar clq libGL.a=20 >>>../../../lib/GL/glx/unshared/?*.o=20 >>>$(GLXLIBSRC)/apple/unshared/appledri.o=20 >>>$(GLXLIBSRC)/apple/unshared/dri_dispatch.o=20 >>>$(GLXLIBSRC)/apple/unshared/dri_driver.o=20 >>>$(GLXLIBSRC)/apple/unshared/dri_glx.o=20 >>>$(GLXLIBSRC)/apple/unshared/x-list.o=20 >>>$(GLXLIBSRC)/apple/unshared/x-hash.o >>>I'm on MacOSX 10.3.2 and out-of-the-box gnumake and other tools >> >>When you say "out-of-the-box", I assume you=20 >>mean using Apple's standard developer tools=20 >>with no customization or replacing Apple system=20 >>utilities with other things from the GNU=20 >>project in your path? > >exactly ... but I just realize that system sed=20 >is overriden by one from FreeBSD, I'll look into=20 >this Interesting. Sounds like a likely culprit. >> For some reason GLXLIBSRC is not getting=20 >>defined in your Makefile. The command should=20 >>look like: >> >>ar clq libGL.a=20 >>../../../lib/GL/glx/unshared/?*.o=20 >>../../../lib/GL/apple/unshared/appledri.o=20 >>../../../lib/GL/apple/unshared/dri_dispatch.o=20 >>../../../lib/GL/apple/unshared/dri_driver.o=20 >>../../../lib/GL/apple/unshared/dri_glx.o=20 >>../../../lib/GL/apple/unshared/x-list.o=20 >>../../../lib/GL/apple/unshared/x-hash.o > >I have looked the Makefile and $(GLXLIBSRC) is=20 >defined ok as ../../../lib/GL through TOP XTOP=20 >etc... > >The problem seems to come from the variable expansion in lib/GL/GL/Makefile= : > > APPLEOBJS =3D appledri.o dri_dispatch.o=20 >dri_driver.o dri_glx.o x-list.o x-hash.o > DRIOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/%.o) > DRIUOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/unshared/%.o) > DRIDOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/debugger/%.o) > DRIPOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/profiled/%.o) > >Is that the way it should read ? I'm not too proficient with these rules Yes, that's how my Makefile looks. Not sure why,=20 but it looks like your toolchain is not doing the=20 recursive substitution to resolve GLXLIBSRC when=20 it substitutes in for DRIUOBJS in: UOBJS =3D $(GLXUOBJS) $(DRIUOBJS) $(DRVUOBJS) Let me know if you come up with a solution for that version of sed. --Torrey |
From: Yves de C. <yv...@gn...> - 2003-12-30 23:30:18
|
Le 03-12-30, =E0 17:36, Torrey Lyons a =E9crit : > At 10:26 AM -0500 12/30/03, Yves de Champlain wrote: >> Le 03-12-30, =E0 01:38, Torrey Lyons a =E9crit : >> >>> At 8:43 PM -0500 12/28/03, Yves de Champlain wrote: >>>> making all in lib/GL/GL... >>>> ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o=20 >>>> $(GLXLIBSRC)/apple/unshared/appledri.o=20 >>>> $(GLXLIBSRC)/apple/unshared/dri_dispatch.o=20 >>>> $(GLXLIBSRC)/apple/unshared/dri_driver.o=20 >>>> $(GLXLIBSRC)/apple/unshared/dri_glx.o=20 >>>> $(GLXLIBSRC)/apple/unshared/x-list.o=20 >>>> $(GLXLIBSRC)/apple/unshared/x-hash.o >>>> I'm on MacOSX 10.3.2 and out-of-the-box gnumake and other tools >>> >>> When you say "out-of-the-box", I assume you mean using Apple's=20 >>> standard developer tools with no customization or replacing Apple=20 >>> system utilities with other things from the GNU project in your=20 >>> path? >> >> exactly ... but I just realize that system sed is overriden by one=20 >> from FreeBSD, I'll look into this > > Interesting. Sounds like a likely culprit. moving sed out of the way did not do change anything > >>> For some reason GLXLIBSRC is not getting defined in your Makefile.=20= >>> The command should look like: >>> >>> ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o=20 >>> ../../../lib/GL/apple/unshared/appledri.o=20 >>> ../../../lib/GL/apple/unshared/dri_dispatch.o=20 >>> ../../../lib/GL/apple/unshared/dri_driver.o=20 >>> ../../../lib/GL/apple/unshared/dri_glx.o=20 >>> ../../../lib/GL/apple/unshared/x-list.o=20 >>> ../../../lib/GL/apple/unshared/x-hash.o >> >> I have looked the Makefile and $(GLXLIBSRC) is defined ok as=20 >> ../../../lib/GL through TOP XTOP etc... >> >> The problem seems to come from the variable expansion in=20 >> lib/GL/GL/Makefile: >> >> APPLEOBJS =3D appledri.o dri_dispatch.o dri_driver.o dri_glx.o=20 >> x-list.o x-hash.o >> DRIOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/%.o) >> DRIUOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/unshared/%.o) >> DRIDOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/debugger/%.o) >> DRIPOBJS =3D $(APPLEOBJS:%.o=3D$(GLXLIBSRC)/apple/profiled/%.o) >> >> Is that the way it should read ? I'm not too proficient with these=20= >> rules > > Yes, that's how my Makefile looks. Not sure why, but it looks like=20 > your toolchain is not doing the recursive substitution to resolve=20 > GLXLIBSRC when it substitutes in for DRIUOBJS in: > > UOBJS =3D $(GLXUOBJS) $(DRIUOBJS) $(DRVUOBJS) > > Let me know if you come up with a solution for that version of sed. > > --Torrey I changed the Imakefile with hardcoded paths #if defined(DarwinArchitecture) && BuildAppleDRI APPLEOBJS =3D appledri.o dri_dispatch.o dri_driver.o dri_glx.o=20 x-list.o x-hash.o DRIOBJS =3D $(APPLEOBJS:%.o=3D../../../lib/GL/apple/%.o) DRIUOBJS =3D $(APPLEOBJS:%.o=3D../../../lib/GL/apple/unshared/%.o) DRIDOBJS =3D $(APPLEOBJS:%.o=3D../../../lib/GL/apple/debugger/%.o) DRIPOBJS =3D $(APPLEOBJS:%.o=3D../../../lib/GL/apple/profiled/%.o) Strangely enough, it fixed the static library but not the shared : ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o =20 ../../../lib/GL/apple/unshared/appledri.o=20 ../../../lib/GL/apple/unshared/dri_dispatch.o=20 ../../../lib/GL/apple/unshared/dri_driver.o=20 ../../../lib/GL/apple/unshared/dri_glx.o=20 ../../../lib/GL/apple/unshared/x-list.o=20 ../../../lib/GL/apple/unshared/x-hash.o [...] rm -f libGL.1.2.dylib~ + cd . ++ GLXLIBSRC /bin/sh: line 1: GLXLIBSRC: command not found ++ GLXLIBSRC /bin/sh: line 1: GLXLIBSRC: command not found ++ GLXLIBSRC /bin/sh: line 1: GLXLIBSRC: command not found ++ GLXLIBSRC /bin/sh: line 1: GLXLIBSRC: command not found ++ GLXLIBSRC /bin/sh: line 1: GLXLIBSRC: command not found ++ GLXLIBSRC /bin/sh: line 1: GLXLIBSRC: command not found + /usr/bin/cc -o ./libGL.1.2.dylib~ -dynamiclib -install_name=20 /usr/X11R6/lib/libGL.1.dylib -current_version 1.2=20 -compatibility_version 1.2 ../../../lib/GL/glx/clientattrib.o=20 ../../../lib/GL/glx/compsize.o ../../../lib/GL/glx/dispatch.o=20 ../../../lib/GL/glx/eval.o ../../../lib/GL/glx/g_render.o=20 ../../../lib/GL/glx/g_single.o ../../../lib/GL/glx/g_vendpriv.o=20 ../../../lib/GL/glx/glapi.o ../../../lib/GL/glx/glcontextmodes.o=20 ../../../lib/GL/glx/glthread.o ../../../lib/GL/glx/glxcmds.o=20 ../../../lib/GL/glx/glxext.o ../../../lib/GL/glx/glxextensions.o=20 ../../../lib/GL/glx/indirect_init.o ../../../lib/GL/glx/pixel.o=20 ../../../lib/GL/glx/pixelstore.o ../../../lib/GL/glx/render2.o=20 ../../../lib/GL/glx/renderpix.o ../../../lib/GL/glx/single2.o=20 ../../../lib/GL/glx/singlepix.o ../../../lib/GL/glx/vertarr.o=20 ../../../lib/GL/glx/xfont.o /apple/appledri.o /apple/dri_dispatch.o=20 /apple/dri_driver.o /apple/dri_glx.o /apple/x-list.o /apple/x-hash.o=20 -L../../../exports/lib -lXext -lX11 -L/usr/lib -lXplugin=20 /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib=20 -sub_library libGL -framework ApplicationServices -framework=20 CoreFoundation -framework OpenGL cc: /apple/appledri.o: No such file or directory cc: /apple/dri_dispatch.o: No such file or directory cc: /apple/dri_driver.o: No such file or directory cc: /apple/dri_glx.o: No such file or directory cc: /apple/x-list.o: No such file or directory cc: /apple/x-hash.o: No such file or directory Now I don't know where that GLXLIBSRC comes from yves |
From: Yves de C. <yv...@gn...> - 2003-12-31 04:51:05
|
Hi Since it was a make problem, I looked more closely at my make program and it turns out that calling gnumake will not do if there is some other make somewhere around. The build system probably calls make independently of which make was used to start the whole process. Thanks for your kind assistance yves |