[Vortex] Patches for building on Mac OS X

Skye skye at F4.ca
Thu Oct 9 21:17:56 CEST 2008


Digging up some ancient history from June 2007 here:

http://lists.aspl.es/pipermail/vortex/2007-June/000156.html

Having similar problems, namely:

1. Had to set PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig so
that configure would work

2. 

> * 'configure' sets the variable PTHREAD_CFLAGS to "none" in the  
> generated Makefile. That's right, the string "none". This causes gcc  
> to barf when that string is used as a parameter.


3.

> * GCC complains about your prototype for unsetenv. The problem you  
> describe that your prototype is a workaround for may be
> Linux-specific.
> In file included from vortex.c:38:
> ./vortex.h:369: error: conflicting types for 'unsetenv'
> /usr/include/stdlib.h:245: error: previous declaration of 'unsetenv'  
> was here

Perhaps a README.OSX is needed :)

I'm using Darwin 9.5.0 (OS X 10.5.5), the output is below

Skye


make  all-recursive
Making all in src
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -Wall -ansi -g -I.. -D__COMPILING_VORTEX__ -I/usr/local/include/axl   
-DENABLE_VORTEX_LOG none -DVERSION=\""1.0.15.b3522.g3524"\"
-DENABLE_TLS_SUPPORT  -DENABLE_XML_RPC_SUPPORT -DENABLE_TUNNEL_SUPPORT
-DPACKAGE_DTD_DIR=\""/usr/local/share"\" -DPACKAGE_TOP_DIR=\"".."\"
-DVORTEX_HAVE_POLL=1   -DDEFAULT_POLL     -g -O2 -MT vortex.lo -MD -MP -MF
".deps/vortex.Tpo" -c -o vortex.lo vortex.c; \
	then mv -f ".deps/vortex.Tpo" ".deps/vortex.Plo"; else rm -f
".deps/vortex.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ansi -g -I.. -D__COMPILING_VORTEX__
-I/usr/local/include/axl -DENABLE_VORTEX_LOG none
-DVERSION=\"1.0.15.b3522.g3524\" -DENABLE_TLS_SUPPORT
-DENABLE_XML_RPC_SUPPORT -DENABLE_TUNNEL_SUPPORT
-DPACKAGE_DTD_DIR=\"/usr/local/share\" -DPACKAGE_TOP_DIR=\"..\"
-DVORTEX_HAVE_POLL=1 -DDEFAULT_POLL -g -O2 -MT vortex.lo -MD -MP -MF
.deps/vortex.Tpo -c vortex.c  -fno-common -DPIC -o .libs/vortex.o
i686-apple-darwin9-gcc-4.0.1: none: No such file or directory
In file included from vortex.c:40:
./vortex.h:471: error: conflicting types for 'unsetenv'
/usr/include/stdlib.h:247: error: previous declaration of 'unsetenv' was
here
make[2]: *** [vortex.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
zsh: exit 2     make

-- 
View this message in context: http://n2.nabble.com/Re%3A-Patches-for-building-on-Mac-OS-X-tp1313518p1313518.html
Sent from the Vortex -- Open Source BEEP implementation mailing list archive at Nabble.com.



More information about the Vortex mailing list