On 4/3/14, 3:16 PM, Gary K. Olson wrote:
> I was attempting to install gelemental, and received the following error
> message:
>
>>  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -DLOCALEDIR=\"/sw/share/locale\"
>> -I/sw/include/glibmm-2.4 -I/sw/lib/glibmm-2.4/include
>> -I/sw/include/sigc++-2.0 -I/sw/lib/sigc++-2.0/include
>> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
>> -I/sw/include/pango-1.0 -I/sw/include
>> -Wno-error=unused-command-line-argument-hard-error-in-future -Wall
>> -Wno-unused -Os
>> -Wno-error=unused-command-line-argument-hard-error-in-future -MT
>> element.lo -MD -MP -MF .deps/element.Tpo -c element.cc
>> <http://element.cc>  -fno-common -DPIC -o .libs/element.o
>> *value.cc <http://value.cc>:26:10: **fatal error:
>> **'ext/stdio_filebuf.h' file not found*
>> #include <ext/stdio_filebuf.h>
>> *         ^*
>> 1 error generated.
>> make[3]: *** [value.lo] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> mv -f .deps/value-types.Tpo .deps/value-types.Plo
>> mv -f .deps/element.Tpo .deps/element.Plo
>> mv -f .deps/data.Tpo .deps/data.Plo
>> make[3]: Leaving directory
>> `/sw/src/fink.build/gelemental-1.2.0-1008/gelemental-1.2.0/libelemental'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/sw/src/fink.build/gelemental-1.2.0-1008/gelemental-1.2.0/libelemental'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/sw/src/fink.build/gelemental-1.2.0-1008/gelemental-1.2.0'
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.3PR9Z failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-gelemental-1.2.0-1008
>> (Reading database ... 329914 files and directories currently installed.)
>> Removing fink-buildlock-gelemental-1.2.0-1008 ...
>> Failed: phase compiling: gelemental-1.2.0-1008 failed
>
> I don’t believe that this error is directly related to the Xcode5.1
> March 10 problem.  I am using Alexander’s fink 36.3.11.git distribution
> and I have followed the recommendation to open up the binary
> distribution where packages are available.  These two steps have allowed
> me to install and build several packages that Apple’s command line tools
> are preventing, but not gelemental.  While, I would like to get this
> problem resolved, especially if there is an easy solution, I know that
> everyone is busy putting out fires, so if it takes awhile before anyone
> gets to it I understand.  Thanks for any help!
>
> Here is my kit:
> rMacBookPro (2014)
> OSX 10.9.2
> Package manager version: 0.36.3.1.git
> Distribution version: selfupdate-rsync Thu Apr  3 14:03:09 2014, 10.9,
> x86_64
> Trees: local/main stable/main local/injected
> Xcode.app: 5.1
> Xcode command-line tools: 5.1.0.0.1.1393561416
> Max. Fink build jobs:  4
>
> Gary K Olson
>
>

Here's what I've got:

$ locate ext/stdio_filebuf.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/ext/stdio_filebuf.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/ext/stdio_filebuf.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/c++/4.2.1/ext/stdio_filebuf.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/include/c++/4.2.1/ext/stdio_filebuf.h
/sw/lib/gcc4.8/include/c++/4.8.2/ext/stdio_fil

It looks like perhaps stdio_filebuf.h got moved at some point to be out 
of the default include path.  The package is in the 10.7 so it must have 
built on 10.7 at least at some point.  It might just take a little 
tweaking of the includes.

By the way, we found some issues with the fink build setup that you're 
currently using.  There's a new variant which hasn't migrated over to 
the release branch yet, and it should have fewer unforeseen consequences 
because it doesn't set any environment variables.  If you'd like to try 
that:

1)  Grab its source archive from 
https://github.com/fink/fink/tree/refactor-compiler-wrapper

2)  Change the version in the VERSION file to read 0.36.1.git

3)  use ./inject.pl in the build directory.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to