|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Installing gnu gv on Mac OSX 10.5.6 compile errorHi all
I'm trying to install gv-3.6.7 for a user in my building and I am having trouble installing gv. I've got libXaw3d dylibs installed in "/usr/X11/lib/" and the headers in "/usr/X11/include/X11/Xaw3d" ran "./configure --enable-setenv-code" which is succesful typed "make" and I end up with this error: =============================== mb08-02591:gv-3.6.7 custodian$ make Making all in lib make all-am make[2]: Nothing to be done for `all-am'. Making all in src make all-am gcc -DHAVE_CONFIG_H -I. -DNON_BLOCKING_IO -DGV_CODE -DGV_LIBDIR=\"/usr/local/share/gv\" -I../lib -I../lib -g -DUSE_SETENV_CODE -I/usr/X11/include -g -O2 -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c callbacks.c: In function 'cb_presentation': callbacks.c:960: error: 'SIGCLD' undeclared (first use in this function) callbacks.c:960: error: (Each undeclared identifier is reported only once callbacks.c:960: error: for each function it appears in.) make[2]: *** [callbacks.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 ============================== (Actually thats the second time the make has be executed, hence the lib directory has been compiled) I'm guessing a library isn't accessable but the SIGCLD seems to be from signal.h which I would've is widely available in OSX/Freebsd Arch. The app is compiled in my home directory as well in bash (try csh still no go). Am I missing something? Lang |
|
|
Re: Installing gnu gv on Mac OSX 10.5.6 compile errorHi Lang,
Lang Valentine wrote: > Am I missing something? > > Lang I got an important hint by email today. I think it may help you. Greetings from Germany Markus Steinborn Here is the email I got: Ryan Schmidt wrote: > I'm the maintainer of gv in MacPorts. Apologies for not testing > 3.6.6.90 or 3.6.6.91, but while updating the gv port to 3.6.7 (on Mac > OS X 10.4.11 with Xcode 2.5) I got this error: > > > /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -DNON_BLOCKING_IO -DGV_CODE > -DGV_LIBDIR=\"/mp/share/gv\" -I../lib -I../lib -g -DUSE_SETENV_CODE > -I/mp/include -I/mp/include -O2 -MT confirm.o -MD -MP -MF > .deps/confirm.Tpo -c -o confirm.o confirm.c > callbacks.c: In function 'cb_presentation': > callbacks.c:960: error: 'SIGCLD' undeclared (first use in this function) > callbacks.c:960: error: (Each undeclared identifier is reported only once > callbacks.c:960: error: for each function it appears in.) > make[2]: *** [callbacks.o] Error 1 > > > Googling for this error, I see other projects have run into it: > > > http://markmail.org/message/xpfwof4bu44moxbo#query:SIGCLD%20mac+page:1+mid:w5vb76meovpbe2ys+state:results > > > > The above suggests that for Mac OS X and FreeBSD this should be added: > > > #ifndef SIGCLD > # define SIGCLD SIGCHLD > #endif > > > Adding that near the top of src/callbacks.c did allow it to compile. > So I just wanted to let you know. |
| Free embeddable forum powered by Nabble | Forum Help |