Problem installing wxLua

Booting, installing, newbie
Post Reply
Message
Author
mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

Problem installing wxLua

#1 Post by mahadi »

I have downloaded wxLua source file from the following link:-
http://sourceforge.net/projects/wxlua/f ... z/download
I tried to untar it first, it left an extracted folder named wxLua with some error messages at the end, then I used ./configure command, it also ended up showing an error.
Finally, I used the make command which left me with a message like there was no specified file or no makefile, though, there was a file named Makefile.in in wxLua folder.
For your information, I have already downloaded and installed Lua5.1 on Puppy.
How do I install wxLua on Puppy?
Thanks.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#2 Post by GrumpyWolfe »

I was curious so I downloaded the file and found that if you do not have have a working wxWidgets then it will not compile so first step is to download wxwidgets and compile it.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#3 Post by mahadi »

I have downloaded, compiled and installed wxWidgets without any errors.
But I don't know how to make sure that wxWidgets has been installed successfully. I have searched for wxWidgets file whereby I can run it in /usr/bin and in other directories, but couldn't find it.
How can I test wxWidgets?

Is there any other easier way to use wxLua?

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#4 Post by GrumpyWolfe »

I was looking at the pet I have of wxwidgets and found out why. There is no package pointer in the lib dir. Now that being said you could use a cflag to point to the lib dir but I am not that good at explaining that part I have to go to work soon but have tomorrow off maybe I will be able to find a easy way to get it to work and let you know.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#5 Post by mahadi »

I'm looking forward to your reply.

Thank you.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#6 Post by GrumpyWolfe »

Ok I got it to compile on my computer so let us get it going on yours. First check in your /usr/bin and see if you have a file wx-config. For some reason wxwedgets will compile but is not make this file and it is just a syslink to /usr/lib/wx/config then depending on how you have configured it when you compiled it it will be ether gtk2-unicode-release-2.8 or gtk2-ansi-release-2.8 the important part is the the syslink in usr/bin points to one of those files.

let me know
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#7 Post by mahadi »

Yes, I've found wx-config file but not in usr/bin, in usr/local/bin, and that is a symlink.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#8 Post by GrumpyWolfe »

syslink to what file is it valid.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#9 Post by mahadi »

syslink to usr/local/lib/wx/config/gtk.........

I don't know if it's valid.

I think the installation had problems, though it installed without any error. There should have been wxLua, wxLuaEdit files in wxLua/bin directory, but they are not there

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#10 Post by GrumpyWolfe »

let me try and clarify in a term window issue this

Code: Select all

/usr/local/bin/wx-config cxxflag 
and see what the output is then if that works we can config wxlua to compile. if there is not output then we have to fix the link or you cannot compile wxlua.[/code]
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#11 Post by mahadi »

No output at all.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#12 Post by GrumpyWolfe »

ok then it is not a valid link we need to find the right file and link it. check and see if you have a file in the /usr/lib/wx/config if so in a term window issue this command

Code: Select all

ln-s /usr/lib/wx/config/yourfile /usr/bin/wx-config
but you will have to delete the old one first for it to work
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#13 Post by mahadi »

I used the code and got this:
ln: creating symbolic link '/usr/bin/wx-config' : No such file or directory
However, I've created a symlink to that file by using context menu command Link..., and renaming gtk.......file into wx-config.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#14 Post by GrumpyWolfe »

so now can you issue the command

Code: Select all

/usr/lib/bin/wx-config cxxflag
and get any output.

if so then when you try and compile wxlua you mite use this command

Code: Select all

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --with-wx-prefix=/usr/lib --enable-unicode
just be sure and set the wx-prefix to where your wx libs are at.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#15 Post by mahadi »

No sir, still no output. I think we need to go back to the drawing board.

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#16 Post by mahadi »

I've installed both wxWidgets and wxLua from the ground-up successfully.
One thing I don't understand why wxLua and wxLuaEdit are not available, they are completely absent.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#17 Post by GrumpyWolfe »

if you want I will make a pet of wxwidget and wxlua for you
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

mahadi
Posts: 34
Joined: Tue 15 Feb 2011, 05:40

#18 Post by mahadi »

Yes, please.
That is very kind of you.
I look forward to hearing from you.

Thank you.

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#19 Post by GrumpyWolfe »

mahadi

Just a post to tell you what is going on. One I am working a little more right now so time is in short supply. Two the libs for wxwidgets compile just fine but the file.h files do not and wxlua says they are not configed so trying to sort that out.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#20 Post by GrumpyWolfe »

Here you go I think you will need to use the wxWidgets that I build and I cannot be sure that wxlua is 100% stable it has a lot of warnings but no errors so let me know if it works well.

http://sourceforge.net/projects/mywolfe ... t/download
http://sourceforge.net/projects/mywolfe ... t/download
http://sourceforge.net/projects/mywolfe ... t/download
http://sourceforge.net/projects/mywolfe ... t/download

have fun
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

Post Reply