NSIS compile failed on FreeBSD 7.2
Jeremy Chadwick
freebsd at jdc.parodius.com
Fri Nov 20 19:46:16 UTC 2009
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 at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-stable
mailing list