Hi,
Anyone has any idea why I get this error?
kaos@jenna Lua $ pike -x module module_modref make PIKE_INCLUDES=-I/usr/include/pike PIKE_SRC_DIR=/usr/include/pike BUILD_BASE=/usr/include/pike MODULE_BASE=/usr/include/pike TMP_BINDIR=/usr/include/pike SRCDIR=. FULL_SRCDIR=/home/kaos/dev/pike/Lua/ TMP_MODULE_BASE=. PIKE_EXTERNAL_MODULE=pike_external_module CORE_AUTODOC_PATH=/usr/lib/doc/src/core_autodoc.xml SYSTEM_DOC_PATH=/usr/lib/doc/ SYSTEM_MODULE_PATH=/usr/lib/pike/modules LOCAL_MODULE_PATH=$$HOME/lib/pike/modules RUNPIKE=pike module_modref make[1]: Entering directory `/home/kaos/dev/pike/Lua' if test ! -d "./plib/modules" ; then \ mkdir -p ./plib/modules ; \ fi; if test "xlua.o" != "x" ; then \ /usr/include/pike/install_module module.so ./plib/modules/Public.pmod/Lang.pmod/___Lua.so ;\ fi; \ if test "xmodule.pmod.in" != "x"; then \ /usr/include/pike/install_module module.pmod ./plib/modules/Public.pmod/Lang.pmod/Lua.pmod ;\ fi make[1]: Leaving directory `/home/kaos/dev/pike/Lua' pike -x extract_autodoc --builddir=plib/refdoc --srcdir=plib/modules Extracting from /home/kaos/dev/pike/Lua/plib/modules/ Extracting from /home/kaos/dev/pike/Lua/plib/modules/Public.pmod/ Extracting from /home/kaos/dev/pike/Lua/plib/modules/Public.pmod/Lang.pmod/ Extracting file "/home/kaos/dev/pike/Lua/plib/modules/Public.pmod/Lang.pmod/Lua.pmod"... if test "Xlua.c" -ne "X"; then \ pike -x extract_autodoc --builddir=plib/refdoc lua.c; \ fi /bin/sh: line 1: test: Xlua.c: integer expression expected pike -x join_autodoc --quiet --post-process "plib/autodoc.xml" "plib/refdoc" make: *** No rule to make target `plib/autodoc.xml', needed by `module_modref.xml'. Stop.
kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
kaos@jenna Lua $ ls AUTHORS Makefile config.cache configure linker_options lua.cmod.compiled modlist_headers module.pmod.in plib CHANGES Makefile.in config.log configure.in lua.c lua.o modlist_segment module.so refdoc COPYING README config.status dependencies lua.cmod make_variables module.pmod pike_Lua.feature testsuite.in
I have a lua.c file (generated from lua.cmod) in the current directory, with some Autdoc markup in it. But it seems that it's something with 'test' that gets bogus.. ?
// Andreas
kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
FYI, all occurences of "test" on my machine use "!=", which is the correct way to compare strings (at least on bash).
kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
FYI, all occurences of "test" on my machine use "!=", which is the correct way to compare strings (at least on bash).
True, -ne is for arithmetic comparison.
/ Henrik Grubbström (Lysator)
Previous text:
2004-08-10 17:24: Subject: Re: Fail to build Module modref
kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
FYI, all occurences of "test" on my machine use "!=", which is the correct way to compare strings (at least on bash).
-- Bertrand LUPART Linkeo.com - R&D | http://www.linkeo.com/ +33 1 72 71 71 82 | 17, rue de la Banque - F75002 Paris Systèmes de gestion d'email entrant | Email management systems
/ Brevbäraren
Didn't this get fixed somewhere along the way?
Bill
On Tue, 10 Aug 2004, Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum wrote:
kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
FYI, all occurences of "test" on my machine use "!=", which is the correct way to compare strings (at least on bash).
True, -ne is for arithmetic comparison.
/ Henrik Grubbstr�m (Lysator)
pike-devel@lists.lysator.liu.se