Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 14:50:47 -0500
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        lua@FreeBSD.org
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   lang/lua: It does need gmake.
Message-ID:  <CADLFttcrjwgLjmYhAs=HNiWa%2BefkKP_dMRZkdPaeVQJDLd1_tg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I get a build failure on amd64:

---------------------------------
/usr/bin/ld: lapi.o: relocation R_X86_64_32 against `luaO_nilobject_'
can not be used when making a shared object; recompile with -fPIC
lapi.o: could not read symbols: Bad value
*** Error code 1
---------------------------------

I got it fixed by add USE_GMAKE=yes in the Makefile and now I can get
it built ok. If you compare the build log between make and gmake. You
will see it has different output. This
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162279 has broken it.

May I commit it by add USE_GMAKE=yes back in?

Thanks,
Mezz


-- 
mezz.freebsd@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLFttcrjwgLjmYhAs=HNiWa%2BefkKP_dMRZkdPaeVQJDLd1_tg>