Ticket #23169 (closed defect: invalid)
mesa-7.6.1_0 glxext.c - No such file or directory
| Reported by: | harry.weppner@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | mesa |
Description
Hi there,
mesa fails to build on PPC 10.5.8.
Making programs for darwin ./gen_gl_h.sh include/GL/gl.h.template include/GL/gl.h /usr/bin/gcc-4.0 -I. -Iinclude -Iinclude/internal -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DGLX_USE_APPLEGL -DGLX_ALIAS_UNSUPPORTED "" -I/opt/local/include -O2 -c glxext.c powerpc-apple-darwin9-gcc-4.0.1: : No such file or directory make: *** [glxext.o] Error 1
Full debug log attached.
Thanks & cheerio, Harry.
Attachments
Change History
Changed 3 years ago by harry.weppner@…
- Attachment mesa_build_error.log added
comment:1 Changed 3 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to jeremyhu@…
comment:2 Changed 3 years ago by jeremyhu@…
- Status changed from new to assigned
Works for me... you'll need to look into it more on your system...
~/src/macports-trunk/dports/x11/mesa/work/AppleSGLX-59 $ ls glxext.c glxext.c
comment:3 Changed 3 years ago by harry.weppner@…
glext.c can be found here as well
$ ll /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa/work/AppleSGLX-59/glxext.c -rw-r--r-- 1 root admin 30509 Dec 25 09:56 /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa/work/AppleSGLX-59/glxext.c
After a more careful look: what is "" referring to in the gcc command?
[...] -DGLX_ALIAS_UNSUPPORTED "" -I/opt/local/include -O2 -c glxext.c
Cheerio, Harry.
comment:4 Changed 3 years ago by jmr@…
Are you sure you have Xcode installed? Can you compile anything with /usr/bin/gcc-4.0?
comment:5 Changed 3 years ago by harry.weppner@…
absolutely positive ;-) The cause are the "" (empty parentheses).
It stems from $(RC_CFLAGS) in the Makefile which isn't set anywhere
GL_CFLAGS=-Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DGLX_USE_APPLEGL -DGLX_ALIAS_UNSUPPORTED $(RC_CFLAGS) $(CFLAGS)
I removed the reference to $(RC_CFLAGS) in the Makefile and everything build fine from that point on. The portfile seems to only have RC_CFLAGS set for the universal variant, which isn't the default one!?
Cheerio, Harry.
Note: See
TracTickets for help on using
tickets.


Debug build log