pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29385: package games/enigma fails build



almeyers%consult-meyers.com@localhost wrote:
> >Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386

I suppose you used the native compiler to start the bootstrap process
and used it for all the packages?

Mandrake 10.1 includes gcc 3.4.something as the native compiler. This
version of gcc/g++ obviously refuses to accept certain C++ statements which
were acceptable to earlier releases. The exact same errors happen on
NetBSD if GCC_REQD=3.4 is set in /etc/mk.conf.

As a workaround, I propose to use

  USE_PKGSRC_GCC=yes
  GCC_REQD+=3 

in your mk.conf filest; don't forget to recompile libtool-base when you
change your default compiler in this way.

Enigma compiled with lang/gcc3 works on Mandrake 10.1.

ciao
     Klaus




Home | Main Index | Thread Index | Old Index