[code] Troubles compiling and running TextAdept under Debian

From: Rob Kendrick <rjek+foicica.com.att.rjek.com>
Date: Thu, 29 Nov 2012 16:00:31 +0000

Hi,

Trying to run the stock pre-compiled binaries resulted in no joy on a
Debian wheezy/testing box, so I decided to try building it from source.

Non-JIT TextAdept produces a binary, however, the make process then
explodes apparently when trying to build the JIT version:

g++ -o ../textadeptjit AutoComplete.o CallTip.o Catalogue.o CellBuffer.o CharClassify.o ContractionState.o Decoration.o Document.o Editor.o ExternalLexer.o Indicator.o KeyMap.o LineMarker.o PerLine.o PositionCache.o RESearch.o RunStyles.o ScintillaBase.o Selection.o Style.o UniConversion.o ViewStyle.o XPM.o Accessor.o CharacterSet.o LexerBase.o LexerModule.o LexerNoExceptions.o LexerSimple.o PropSetSimple.o StyleContext.o WordList.o PlatGTK.o ScintillaGTK.o scintilla-marshal.o LexLPegjit.o textadeptjit.o lpegjit.o lfsjit.o gtdialog.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -rdynamic -Wl,--retain-symbols-file -Wl,lua.sym -ldl
LexLPegjit.o: In function `l_error(lua_State*, char const*)':
LexLPeg.cxx:(.text+0xf): undefined reference to `lua_tolstring'
LexLPeg.cxx:(.text+0x32): undefined reference to `lua_settop'
LexLPegjit.o: In function `lua_get_indent_amount(lua_State*)':
LexLPeg.cxx:(.text+0x4c): undefined reference to `lua_getfield'
LexLPeg.cxx:(.text+0x57): undefined reference to `lua_touserdata'
LexLPeg.cxx:(.text+0x71): undefined reference to `luaL_checkinteger'
LexLPeg.cxx:(.text+0x85): undefined reference to `lua_pushnumber'

(ad infinitum. Well, almost.)

The rest of the output all relates to undefined references to Lua
function names used from various source files.

No matter, I thought, I'll just use the non-JIT binary it built.
Unfortunately, that produces the following error (in a GTK window):

"cannot open /home/rjek/bzr/textadapt/textadept 2
keyboard<0015>TPPS/core/init.lua: No such file or directory"

Where <0015> is the glyph for the unprintable Unicode point.

It then quits.

Building the ncurses version results in a non-JIT binary that appears to
work, but basically the same problem with the JIT version.

Am I missing something obvious? It's been a long week.

B.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 29 Nov 2012 - 11:00:31 EST

This archive was generated by hypermail 2.2.0 : Fri 30 Nov 2012 - 06:29:41 EST