I'll try to take a look at this this weekend, sorry for the delay. Does pthsem replace pth entirely?
Sean On Sun, Aug 2, 2009 at 10:24 PM, MacPorts <nore...@macports.org> wrote: > #20531: gdal build fails if pthsem is installed > > -------------------------------------+-------------------------------------- > Reporter: ryandes...@… | Owner: sean...@… > Type: defect | Status: new > Priority: Normal | Milestone: > Component: ports | Version: 1.7.1 > Keywords: | Port: gdal > > -------------------------------------+-------------------------------------- > Building gdal fails if pthsem is installed: > > {{{ > ---> Building gdal > DEBUG: Executing proc-pre-org.macports.build-build-0 > DEBUG: Executing org.macports.build (gdal) > DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' > DEBUG: Assembled command: 'cd > > > "/mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0" > && nice -n 10 make' > (cd port; make) > /bin/sh > > > /mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0/libtool > --mode=compile --tag=CXX /usr/bin/g++-4.0 -O2 -Wall -DOGR_ENABLED > -I/mp/include -I/mp/include > > > -I/mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0/port > -I/mp -I/mp/include -I/mp -I/mp/include -I/mp/include -I/mp/include -I/mp > -I/mp/include -I../frmts/zlib -DHAVE_LIBZ -c -o cpl_conv.o > cpl_conv.cpp > libtool: compile: /usr/bin/g++-4.0 -O2 -Wall -DOGR_ENABLED -I/mp/include > -I/mp/include > > > -I/mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0/port > -I/mp -I/mp/include -I/mp -I/mp/include -I/mp/include -I/mp/include -I/mp > -I/mp/include -I../frmts/zlib -DHAVE_LIBZ -c cpl_conv.cpp -fno-common > -DPIC -o .libs/cpl_conv.o > /mp/include/pthread.h:286: error: conflicting declaration 'typedef struct > pthread_attr_st* pthread_attr_t' > /usr/include/sys/signal.h:163: error: 'pthread_attr_t' has a previous > declaration as 'typedef struct __darwin_pthread_attr_t pthread_attr_t' > make[1]: *** [cpl_conv.o] Error 1 > make: *** [port-target] Error 2 > }}} > > It works if I uninstall pthsem, clean gdal and try again. Maybe gdal can > insulate itself from this somehow. > > -- > Ticket URL: <http://trac.macports.org/ticket/20531> > MacPorts <http://www.macports.org/> > Ports system for Mac OS >
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev