LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2012, 05:11 AM   #1
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Rep: Reputation: 0
error installing megaglest from slackbuild


Hi.

Installation ends with the following error..

Code:
tmp/SBo/megaglest-3.6.0.3/source/shared_lib/sources/lua/lua_script.cpp:223:38: error: 'luaL_getn' was not declared in this scope
/tmp/SBo/megaglest-3.6.0.3/source/shared_lib/sources/lua/lua_script.cpp: In member function 'void Shared::Lua::LuaArguments::throwLuaError(const std::string&) const':
/tmp/SBo/megaglest-3.6.0.3/source/shared_lib/sources/lua/lua_script.cpp:282:61: error: 'luaL_getn' was not declared in this scope
make[2]: *** [source/shared_lib/CMakeFiles/libmegaglest.dir/sources/lua/lua_script.cpp.o] Error 1
make[2]: Leaving directory `/tmp/SBo/megaglest-3.6.0.3/build'
make[1]: *** [source/shared_lib/CMakeFiles/libmegaglest.dir/all] Error 2
make[1]: Leaving directory `/tmp/SBo/megaglest-3.6.0.3/build'
make: *** [all] Error 2

megaglest:
Would you like to continue processing the rest of the
build queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
Ive lua installed from slackbuilds. Any ideas what is missing?
 
Old 08-07-2012, 06:12 AM   #2
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
You may have the wrong version of lua installed.

You probably want Development/lua version 5.1.5

not Libraries/lua52 version 5.2.0

They are not compatible.
 
Old 08-07-2012, 06:39 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by wadsworth View Post
You may have the wrong version of lua installed.

You probably want Development/lua version 5.1.5

not Libraries/lua52 version 5.2.0

They are not compatible.
yes, most probably that can be the cause, I wrote it in the README
maybe I should make it more evident.

Last edited by ponce; 08-07-2012 at 07:10 AM.
 
1 members found this post helpful.
Old 08-07-2012, 07:18 AM   #4
Laxman_prodigy
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Hi.
Yeah, I installed both versions somehow. Now I uninstalled both, installed the right one, and voila! Megaglest up and running!! Thanks folks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error After Installing Gnome Slackbuild 3.2 Mrich Slackware 0 03-17-2012 11:20 AM
LXer: MegaGlest 3.6.0 Released - Overview, Installation & Screenshots LXer Syndicated Linux News 0 12-05-2011 10:50 PM
What exactly does a slackbuild do (aside from installing a package)? Cultist Slackware 12 02-04-2011 01:48 AM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 03:42 PM
installing wxGTK SlackBuild grimx Slackware 8 03-22-2010 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration