problems with building packages under FBSD3.0

problems with building packages under FBSD3.0

Post by O. Hartman » Fri, 01 Jan 1999 04:00:00



I get with most packages under fbsd30 errors when starting make.
The system always produces errors within the Makefile while not
finding the includes ".include <bsd.port.pre.mk>" and
".include <bsd.port.post.mk>". Where are they? I installed a
FREBBSD-3.0.0-RELEASE from Freebsd.org.

Thanks in advance

Oliver

--
Gruss O. Hartmann
-------------------------------------------------------------------


 
 
 

1. problem building gtkmm (and other C++ packages) on freebsd 4.1.1

Hey guys,

I'm a somewhat seasoned FreeBSD user as I've been using it and developing
with it for over about 2 years (inlcuding porting sloppy C code that works
under glib to work under the much more unforgiving libc, lol :) a very
frustrating job). But I havent played around much w/ C++ under freebsd and
I've had trouble in the past w/ FreeBSD's standard C++ header files. In
the past I didn't have time to troubleshoot and walked away from the
problems, finding solutions coded in C. But finally I've decided to solve
this thing once and for all.

After a lil' search on google groups and goodle web I came up with people
on certain linux distro's even having the same problem, but I havent see
one clear cut solution yet. So anyway, the problem is that I get the
following error messages while building gtk-- 1.2.9 (latest stable) with
gmake on a pretty sane FreeBSD 4.1.1 box:

In file included from /usr/include/g++/iostream.h:31,
                 from /usr/include/g++/stl_alloc.h:45, from
                 /usr/include/g++/alloc.h:21,
                 from /usr/include/g++/std/bastring.h:39, from
                 /usr/include/g++/string:6,
                 from ../gdk--/types.h:29,
                 from ../gdk--/drawable.h:27,
                 from ../gdk--/bitmap.h:26,
                 from bitmap.cc:1:
/usr/include/g++/streambuf.h:403: invalid type `void *' for default
argument to `ios *' In file included from /usr/include/g++/stl_alloc.h:45,
                 from /usr/include/g++/alloc.h:21,
                 from /usr/include/g++/std/bastring.h:39, from
                 /usr/include/g++/string:6,
                 from ../gdk--/types.h:29,
                 from ../gdk--/drawable.h:27,
                 from ../gdk--/bitmap.h:26,
                 from bitmap.cc:1:
/usr/include/g++/iostream.h:50: invalid type `void *' for default argument
to `ostream *' /usr/include/g++/iostream.h:123: invalid type `void *' for
default argument to `ostream *' /usr/include/g++/iostream.h:231: invalid
type `void *' for default argument to `ostream *'

Anyways, errors in the standard header files? Whats up with that? Also,
I've received these errors in the past building other C++ libs/apps, but I
can't recall which ones at the moment. Anyone experience anything like
this in their experiences? any solutions?

btw,
bash-2.04$ g++ --version
2.95.2

2. nfs-client for windows95

3. rpm package building problems

4. MRTG and Sun Systems

5. problem building XFree86-3.3.6 package

6. Ditch Linux for OpenBSD?

7. Upgrading to FBSD3.4: chflags problems?

8. Newbie needs help

9. Problem with KDE and FBSD3.4

10. FBSD3.0: problems with quotas ... HELP!

11. SCSI Problems with FBSD3.2/Adaptec

12. problems with multi-boot (NT4/win95/FBSD3.1

13. Building X contrib packages on Linux