help-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gv] Installing gnu gv on Mac OSX 10.5.6 compile error


From: Markus Steinborn
Subject: Re: [help-gv] Installing gnu gv on Mac OSX 10.5.6 compile error
Date: Sat, 28 Mar 2009 07:40:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14

Hi 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.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]