Results 1 to 8 of 8
Im trying to install FreeJ from source and Im getting the fallowing error message:
make[3]: Entering directory `/home/bruno/freej/lib/slw'
CXX slw_console.lo
slw_console.cpp:25:19: error: slang.h: No such file or directory
slw_console.cpp: In ...
- 01-24-2011 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 13
[SOLVED] Problems with FreeJ
Im trying to install FreeJ from source and Im getting the fallowing error message:
make[3]: Entering directory `/home/bruno/freej/lib/slw'
CXX slw_console.lo
slw_console.cpp:25:19: error: slang.h: No such file or directory
slw_console.cpp: In function ‘void sigwinch_handler(int)’:
slw_console.cpp:36: error: ‘SLsignal’ was not declared in this scope
slw_console.cpp: In function ‘void sigint_handler(int)’:
slw_console.cpp:41: error: ‘SLsignal_intr’ was not declared in this scope
slw_console.cpp:44: error: ‘SLang_Ignore_User_Abort’ was not declared in this scope
slw_console.cpp:45: error: ‘USER_BREAK’ was not declared in this scope
slw_console.cpp: In function ‘int getkey_handler()’:
slw_console.cpp:52: error: ‘SLang_input_pending’ was not declared in this scope
slw_console.cpp:54: error: ‘SLang_getkey’ was not declared in this scope
slw_console.cpp: In member function ‘bool SLangConsole::init()’:
slw_console.cpp:75: error: ‘SLtt_get_terminfo’ was not declared in this scope
slw_console.cpp:77: error: ‘SLkp_init’ was not declared in this scope
slw_console.cpp:78: error: ‘stderr’ was not declared in this scope
slw_console.cpp:78: error: ‘fprintf’ was not declared in this scope
slw_console.cpp:82: error: ‘SLang_init_tty’ was not declared in this scope
slw_console.cpp:84: error: ‘SLsmg_init_smg’ was not declared in this scope
slw_console.cpp:91: error: ‘SLsignal’ was not declared in this scope
slw_console.cpp:92: error: ‘SLang_set_abort_signal’ was not declared in this scope
slw_console.cpp:94: error: ‘SLkp_set_getkey_function’ was not declared in this scope
slw_console.cpp:103: error: ‘SLtt_Screen_Cols’ was not declared in this scope
slw_console.cpp:104: error: ‘SLtt_Screen_Rows’ was not declared in this scope
slw_console.cpp:113: error: ‘SLtt_set_color’ was not declared in this scope
slw_console.cpp: In member function ‘void SLangConsole::close()’:
slw_console.cpp:157: error: ‘SLsmg_reset_smg’ was not declared in this scope
slw_console.cpp:158: error: ‘SLang_reset_tty’ was not declared in this scope
slw_console.cpp: In member function ‘int SLangConsole::getkey()’:
slw_console.cpp:163: error: ‘SLkp_getkey’ was not declared in this scope
slw_console.cpp: In member function ‘bool SLangConsole:
lace(SLangWidget*, int, int, int, int)’:
slw_console.cpp:215: error: ‘SLsmg_draw_box’ was not declared in this scope
slw_console.cpp: In member function ‘bool SLangConsole::refresh()’:
slw_console.cpp:234: error: ‘SLsig_block_signals’ was not declared in this scope
slw_console.cpp:238: error: ‘SLtt_get_screen_size’ was not declared in this scope
slw_console.cpp:239: error: ‘SLsmg_reinit_smg’ was not declared in this scope
slw_console.cpp:241: error: ‘SLtt_Screen_Cols’ was not declared in this scope
slw_console.cpp:242: error: ‘SLtt_Screen_Rows’ was not declared in this scope
slw_console.cpp:265: error: ‘SLsmg_refresh’ was not declared in this scope
slw_console.cpp:267: error: ‘SLsig_unblock_signals’ was not declared in this scope
make[3]: *** [slw_console.lo] Error 1
make[3]: Leaving directory `/home/bruno/freej/lib/slw'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bruno/freej/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bruno/freej'
make: *** [all] Error 2
- 01-25-2011 #2
My feeling is that you need slang or slang-devel or both. I've not used Fedora in a long while but you might be able to find and install slang with yum.
- 01-25-2011 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 13
yum install
I already have installed these packages:
yum install slang-devel.i686 slang.i686 slang-slsh.i686
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package slang-devel-2.2.1-1.fc12.i686 already installed and latest version
Package slang-2.2.1-1.fc12.i686 already installed and latest version
Package slang-slsh-2.2.1-1.fc12.i686 already installed and latest version
Nothing to do
- 01-25-2011 #4
It's a shame it isn't installable with yum. I see where there are fairly current versions of FreeJ for Mandriva and SuSE. Finding the same error on the net hasn't revealed much. Check this thread about the error but it's not with the same application. It might get some ideas flowing though. Sorry I couldn't help more.
- 01-25-2011 #5Just Joined!
- Join Date
- Jan 2011
- Posts
- 3
I'd try to find where slang.h is:
# updatedb
# locate slang.h
Make sure it's on your system somewhere. If it is on your system the build process cannot find it, and you'll likely need to specify it manually.
- 01-26-2011 #6Just Joined!
- Join Date
- Sep 2010
- Posts
- 13
new error
I changed some entries slang.g to slang/slang.h in all files and now Im getting the error:
# make
make all-recursive
make[1]: Entering directory `/home/bruno/freej'
Making all in lib
make[2]: Entering directory `/home/bruno/freej/lib'
Making all in ccvt
make[3]: Entering directory `/home/bruno/freej/lib/ccvt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bruno/freej/lib/ccvt'
Making all in slw
make[3]: Entering directory `/home/bruno/freej/lib/slw'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bruno/freej/lib/slw'
Making all in sdl_ttf
make[3]: Entering directory `/home/bruno/freej/lib/sdl_ttf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bruno/freej/lib/sdl_ttf'
Making all in sdl_gfx
make[3]: Entering directory `/home/bruno/freej/lib/sdl_gfx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bruno/freej/lib/sdl_gfx'
Making all in flash
make[3]: Entering directory `/home/bruno/freej/lib/flash'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bruno/freej/lib/flash'
make[3]: Entering directory `/home/bruno/freej/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bruno/freej/lib'
make[2]: Leaving directory `/home/bruno/freej/lib'
Making all in src
make[2]: Entering directory `/home/bruno/freej/src'
Making all in include
make[3]: Entering directory `/home/bruno/freej/src/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bruno/freej/src/include'
make[3]: Entering directory `/home/bruno/freej/src'
CXX theorautils.lo
theorautils.cpp: In function ‘void oggmux_init(oggmux_info*)’:
theorautils.cpp:286: error: ‘TH_ENCCTL_GET_SPLEVEL_MAX’ was not declared in this scope
theorautils.cpp:286: error: ‘theora_control’ was not declared in this scope
theorautils.cpp:289: error: ‘TH_ENCCTL_SET_SPLEVEL’ was not declared in this scope
make[3]: *** [theorautils.lo] Error 1
make[3]: Leaving directory `/home/bruno/freej/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bruno/freej/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bruno/freej'
make: *** [all] Error 2
- 01-26-2011 #7Just Joined!
- Join Date
- Sep 2010
- Posts
- 13
worked
So, I installed libtheora-1.1.1 from source and everything worked fine....
Thanks everybody....
- 01-27-2011 #8
Good going brunomoss!


