[MacPorts] #18678: upgrade error mesa 7.2 rev 6 - ipc.c
MacPorts
noreply at macports.org
Sun Mar 1 15:07:15 PST 2009
#18678: upgrade error mesa 7.2 rev 6 - ipc.c
---------------------------------------+------------------------------------
Reporter: garribald@… | Owner: jeremyhu@…
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Resolution: duplicate | Keywords:
Port: mesa |
---------------------------------------+------------------------------------
Comment(by mark.pearson0@…):
Unfortunately this doesn't fix things for me.
Having done
{{{
sudo port clean mesa
}}}
followed by
{{{
sudo port install mesa
}}}
I now get the following set of errors:
{{{
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.2"
&& make default INSTALL_DIR=/opt/local " returned error 2
Command output: /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../../../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 layerutil.c
In file included from /opt/local/include/X11/Xlib.h:64,
from layerutil.h:17,
from layerutil.c:12:
/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
/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
mklib: Installing libglut.3.7.dylib libglut.3.dylib libglut.dylib in
../../../lib
Making programs for darwin
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 corender.c
In file included from /opt/local/include/X11/Xlib.h:64,
from ../../include/GL/glx.h:38,
from corender.c:18:
/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
Error: Status 1 encountered during processing.
}}}
Any suggestions?
Thanks
--
Ticket URL: <http://trac.macports.org/ticket/18678#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list