Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 16:36:31 +1100 (EST)
From:      "Tim J. Robbins" <tim@robbins.dropbear.id.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32461: STLport-4.0 include directories are wrong
Message-ID:  <200112030536.fB35aVn66935@raven.robbins.dropbear.id.au>

next in thread | raw e-mail | index | archive | help

>Number:         32461
>Category:       ports
>Synopsis:       STLport-4.0 include directories are wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 02 22:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tim J. Robbins
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD raven.robbins.dropbear.id.au 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386

>Description:
Nothing will compile using STLport (devel/stlport), not even the test
programs. STLport header files are looking for the native g++ header files
in the wrong places (../include).

$ gcc -I/usr/local/include/stlport -L/usr/local/lib -lstlport_gcc -o /tmp/foo>
In file included from /usr/local/include/stlport/stdexcept:33,
                 from /usr/local/include/stlport/stl/_ios_base.h:22,
                 from /usr/local/include/stlport/stl/_streambuf.h:21,
                 from /usr/local/include/stlport/streambuf:31,
                 from /usr/local/include/stlport/stl/_stream_iterator.h:47,
                 from /usr/local/include/stlport/iterator:39,
                 from /usr/local/include/stlport/istream:35,
                 from /usr/local/include/stlport/iostream:34,
                 from incl0.cpp:4:
/usr/local/include/stlport/exception:46: ../include/exception: No such file or directory
In file included from /usr/local/include/stlport/stl/_alloc.h:68,
                 from /usr/local/include/stlport/stdexcept:41,
                 from /usr/local/include/stlport/stl/_ios_base.h:22,
                 from /usr/local/include/stlport/stl/_streambuf.h:21,
                 from /usr/local/include/stlport/streambuf:31,
                 from /usr/local/include/stlport/stl/_stream_iterator.h:47,
                 from /usr/local/include/stlport/iterator:39,
                 from /usr/local/include/stlport/istream:35,
                 from /usr/local/include/stlport/iostream:34,
                 from incl0.cpp:4:
/usr/local/include/stlport/new:47: ../include/new: No such file or directory
In file included from /usr/local/include/stlport/stl/_locale.h:26,
                 from /usr/local/include/stlport/stl/_ios_base.h:25,
                 from /usr/local/include/stlport/stl/_streambuf.h:21,
                 from /usr/local/include/stlport/streambuf:31,
                 from /usr/local/include/stlport/stl/_stream_iterator.h:47,
                 from /usr/local/include/stlport/iterator:39,
                 from /usr/local/include/stlport/istream:35,
                 from /usr/local/include/stlport/iostream:34,
                 from incl0.cpp:4:
/usr/local/include/stlport/typeinfo:27: ../include/typeinfo: No such file or directory

If I do this:
ln -s /usr/include/g++ ../include
then compile with -I., it works, but it seems wrong to have to do this.

>How-To-Repeat:
g++ -I/usr/local/include/stlport -L/usr/local/lib -lstlport_gcc foo.cpp
where foo.cpp is one of the test programs in STLport-4.0/test/regression,
for example incl0.cpp.
>Fix:
Not known. Probably need to edit /usr/local/include/stlport/config/stl_gcc.h
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112030536.fB35aVn66935>