highlight does not build
Kurt Pfeifle
kurt.pfeifle at googlemail.com
Tue Aug 13 12:34:41 PDT 2013
Hi, all.
I'm trying to install the "highlight" port. But the build stage does not
complete:
[....]
/usr/bin/clang++ -Wall -O2 -DNDEBUG -c -I ./include/ -I/usr/include/lua5.1
-fno-strict-aliasing ./core/Diluculum/LuaValue.cpp
/usr/bin/clang++ -Wall -O2 -DNDEBUG -c -I ./include/ -I/usr/include/lua5.1
./core/Diluculum/LuaVariable.cpp
./core/Diluculum/LuaValue.cpp:300:10: error: use of undeclared identifier
'lua_number2integer'; did you mean 'lua_pushinteger'?
lua_number2integer (res, num);
^~~~~~~~~~~~~~~~~~
lua_pushinteger
/opt/local/include/lua.h:207:22: note: 'lua_pushinteger' declared here
LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);
^
./core/Diluculum/LuaValue.cpp:300:30: error: cannot initialize a parameter
of type 'lua_State *' with an lvalue of type 'lua_Integer' (aka 'long')
lua_number2integer (res, num);
^~~
/opt/local/include/lua.h:207:51: note: passing argument to parameter 'L'
here
[....]
make[1]: *** [LuaVariable.o] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_textproc_highlight/highlight/work/highlight-3.9/src'
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....
3 errors generated.
make[1]: *** [LuaVariable.o] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_textproc_highlight/highlight/work/highlight-3.9/src'
make: *** [cli] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_textproc_highlight/highlight/work/highlight-3.9'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_textproc_highlight/highlight/work/highlight-3.9"
&& /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++"
LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names" CXXFLAGS="-Os"
Exit code: 2
Error: org.macports.build for port highlight returned: command execution
failed
DEBUG: Error code: CHILDSTATUS 33066 2
DEBUG: Backtrace: command execution failed
Warning: targets not executed for highlight: org.macports.destroot
org.macports.build
Is there anything I can do to fix this?
Thanks for any hints.
Cheers, Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130813/bec9b417/attachment.html>
More information about the macports-users
mailing list