On 4/4/14, 7:24 PM, Gary K. Olson wrote:
> On 4/4/14, 7:00 PM, Gary Olson wrote:
>> On 4/3/14, 4:47 PM, Alexander Hansen wrote:
>>
>>> 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_filebuf.h
>>
>
> This is what I have:
>
>> [MacBkPro2:~]:-bash:518$: locate /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
>> /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
>> /sw/lib/gcc4.8/include/c++/4.8.2/ext/stdio_filebuf.h
>> /sw/src/fink.build/llvm-gcc42-2336.11-7/llvmgcc42-2336.11/libstdc++-v3/include/ext/stdio_filebuf.h
>> /usr/include/c++/4.2.1/ext/stdio_filebuf.h
>
> This seems essentially the same as you have. I checked build config.log,
> and it had:
>
> $ ./configure --prefix=/sw --mandir=/sw/share/man
> --with-extra-includes=/sw/include --with-extra-libs=/sw/lib
> --enable-dependency-tracking --disable-static
>
> So, I would think that the program should pick up at least the
> "/sw/lib/gcc4.8/include/c++/4.8.2/ext/stdio_filebuf.h" file. Maybe I’m
> wrong. If you know or can guess where to change things, so the program
> will pick up one of the stdio.filebuf.h files let me know, and I will
> change it and run the program again.
>
> By the way, I changed my setup to the 0.36.1.git, and ran the gelemental
> build again, and got the same result as previously. I then fink self
> updated, and it rebuilt fink to 0.36.3.1-81. I don’t know if I am back
> to where I started or if the environmental variables are still unset?
>
> Gary K Olson
>
>
>
>

Actually, the build should  _not_ pick up 
/sw/lib/gcc4.8/include/c++/4.8.2/ext/stdio_filebuf.h because it's 
deliberately hidden from the default paths.

You can see if you have the updated fink via "fink dumpinfo -ePATH 
gelemental"

Information about 8133 packages read in 1 seconds.
PATH=/sw/var/lib/fink/path-prefix-libcxx:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin

The update shouldn't change this particular issue, though, since it's 
due to a change in the system include paths.  When I tried a tweak to 
ensure that /usr/include/c++/4.2.1/ext/stdio_filebuf.h got brought in, 
the build failed:

  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 -Wall -Wno-unused -Os -MT value.lo 
-MD -MP -MF .deps/value.Tpo -c value.cc  -fno-common -DPIC -o .libs/value.o
value.cc:135:12: error: use of undeclared identifier '__gnu_cxx'
:       buf (new __gnu_cxx::stdio_filebuf<char> (file, std::ios_base::out)),

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