Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18705 closed defect (fixed)

Building mesa on 10.4 fails

Reported by: rowue@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: mesa glut Cc: rowue@…
Port: mesa

Description

The Build of mesa with included glut fails. Errormessage below:

/bin/sh ../../../bin/mklib -o glut -linker 'gcc' -ldflags '' \
        -major 3 -minor 7 -patch 1 \
         -install ../../../lib \
        -id /opt/local/lib/libglut.3.dylib \
        -L../../../lib -lGLU -lGL  -L/opt/local/lib -L/opt/local/lib -lX11 -lXmu -lXi -lXext glut_8x13.o glut_9x15.o glut_bitmap.o glut_bwidth.o glut_cindex.o glut_cmap.o glut_cursor.o glut_dials.o glut_dstr.o glut_event.o glut_ext.o glut_fcb.o glut_fullscrn.o glut_gamemode.o glut_get.o glut_glxext.o glut_hel10.o glut_hel12.o glut_hel18.o glut_init.o glut_input.o glut_joy.o glut_key.o glut_keyctrl.o glut_keyup.o glut_menu.o glut_menu2.o glut_mesa.o glut_modifier.o glut_mroman.o glut_overlay.o glut_roman.o glut_shapes.o glut_space.o glut_stroke.o glut_swap.o glut_swidth.o glut_tablet.o glut_teapot.o glut_tr10.o glut_tr24.o glut_util.o glut_vidresize.o glut_warp.o glut_win.o glut_winmisc.o layerutil.o
mklib: Making Darwin shared library:  libglut.3.7.dylib
/usr/bin/libtool: can't locate file for: -lXmu
/usr/bin/libtool: file: -lXmu is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lXi
/usr/bin/libtool: file: -lXi is not an object file (not allowed in a library)
mklib: Installing libglut.3.7.dylib libglut.3.dylib libglut.dylib in ../../../lib
mv: rename libglut.3.7.dylib to ../../../lib/libglut.3.7.dylib: No such file or directory
make[2]: *** [../../../lib/libglut.dylib] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

Change History (8)

comment:1 Changed 15 years ago by rowue@…

Perhaps

xorg-libXi and

xorg-libXmu

must be added to dependencys

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

yep, sorry about that...

comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

comment:4 Changed 15 years ago by rowue@…

put them in - error message:

/opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
gcc -c -I. -I../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC   -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING ipc.c
ipc.c: In function 'CreatePort':
ipc.c:91: error: 'struct hostent' has no member named 'h_addr'
ipc.c: In function 'Connect':
ipc.c:173: error: 'struct hostent' has no member named 'h_addr'
make[2]: *** [ipc.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

Warning: the following items did not execute (for mesa): org.macports.build
Error: Status 1 encountered during processing.

comment:5 Changed 15 years ago by rowue@…

Resolution: fixed
Status: closedreopened

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

comment:7 Changed 15 years ago by rowue@…

build ok now

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.