Hello, I had some problem compiling "SDL Terminal 1.1.3".
First, I installed the following packages:
sudo apt-get install build-essential libgtk2.0-dev
Then, I tried to build the "SDL terminal" with "./configure" and then "make".
I had the following error:
../libtool: line 1820: cd: -/: invalid option cd: usage: cd [-L|[-P [-e]] [-@]] [dir] libtool: link: cannot determine absolute directory name of `-L/usr/lib' make[1]: *** [pyterm] Error 1 make[1]: Leaving directory `/home/dev/tmp/SDL_terminal-1.1.3/examples' make: *** [all-recursive] Error 1
I was able to fix the problem by changing the makefile inside the examples folder. I edited the following line:
#pyterm_LDADD = ../src/libSDL_terminal.la -lGL -lGLU -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -L-L/usr/lib -lz -lpthread -ldl -lutil versus: pyterm_LDADD = ../src/libSDL_terminal.la -lGL -lGLU -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -L/usr/lib -lz -lpthread -ldl -lutil
The problem seems to be created by "-L-L" that was present twice.
If possible can you fix the makefile.
thanks,
ssinfod