Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 11:46:13 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: NSIS compile failed on FreeBSD 7.2
Message-ID:  <20091120194613.GA81572@icarus.home.lan>
In-Reply-To: <4B06E274.3090207@madhaus.cns.utoronto.ca>
References:  <4B02B7D4.7020502@madhaus.cns.utoronto.ca> <4B06E274.3090207@madhaus.cns.utoronto.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 20, 2009 at 01:39:48PM -0500, Matt Wilks wrote:
> Just a note of closure.  Apparently NSIS doesn't compile on 64-bit
> architectures.  Compiled fine on an i386 7.2 install (same machine),
> once the proper library paths were provided.
> 
> Matt Wilks wrote:
> >I'm attempting to install NSIS (http://nsis.sourceforge.net/) on
> >an amd64 FreeBSD 7.2 system and having trouble.  When I run
> >
> >scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all
> >NSIS_CONFIG_CONST_DATA_PATH=no
> >
> >in the source directory for NSIS, I get a bunch of errors that look like:
> >
> >/usr/include/c++/4.2/new:95: error: 'operator new' takes type
> >'size_t' ('unsigned int') as first parameter
> >
> >A google search gives me a link to this bug
> >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28582 that doesn't
> >seem to have been touched since 2006.  Is there someway around
> >this compile error?
> >
> >Thanks,
> >Matt

If that's indeed the case, then the port Makefile needs to be modified
to reject building on any architectures other than i386.  This should
suffice:

ONLY_FOR_ARCHS=	i386

If you could file a PR on this matter, the FreeBSD Project folks would
likely appreciate it.  :-)

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



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