lang/lua: It does need gmake.

Niclas Zeising zeising at daemonic.se
Thu Mar 15 21:14:39 UTC 2012


On 2012-03-15 20:50, Jeremy Messenger wrote:
> 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
> 
> 

Hi!
I can't reproduce the error. I just tried and succeeded in compiling and
linking lua on a x86_64 virtual machine.
The md5 sum of liblua-5.1.so.1 is also the same, regardless of using
make or gmake.
Regards!
-- 
Niclas


More information about the freebsd-ports mailing list