On 5/16/07, Alexander Hansen <[EMAIL PROTECTED]> wrote:
> On 5/16/07, René Mølsted <[EMAIL PROTECTED]> wrote:
> > On 16/05/07 15:08, "Alexander Hansen" <[EMAIL PROTECTED]> wrote:
> >
> > > What Xcode Tools version are you using?
> > Xcode v/2.3
> >
> > /usr/bin/gcc --version
> > powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
> > 5341)
> >
> > > And, can you include the last line that the compiler was running
> > > before your "SNIP" ?
> > I've included the whole session in the attached file
> >
> >
> > --
> > Rene
> >
> >
> >
> I'll quote the salient part:
>
> ...
> ...
> c++ -c -MD -DHAVE_CONFIG_H -D_REENTRANT
> -I/sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include -O2
> -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings -DHAVE_SOCKLEN_T=1
> -O2 -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings
> -DHAVE_SOCKLEN_T=1 -O2 -DEMULATE_MMAP -D__USE_MISC
> -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 -fno-common -DPIC -o
> /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/obj/apt-pkg/mmap.opic
> contrib/mmap.cc
> In file included from contrib/mmap.cc:29:
> /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h:32:18:
> error: string: No such file or directory
>
> ...
>
> Something is broken in your compiler setup.  If you've got any
> compiler-related material under /usr/local, try moving that out of the
> way.  Otherwise you'll need to reinstall from Xcode.  (and you might
> as well update to 2.4.1 while you're at it)

See if you have /usr/include/c++/4.0.0/debug/string and
/usr/include/c++/4.0.0/string , too.

-- 
Alexander K. Hansen
(akh)
Fink User Liaison and Documenter

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to