1. VXEUPHORIA - step by step
- Posted by sergelli May 13, 2012
- 3004 views
Hello Matt
You have a step by step to install the complete VXEUPHORIA and dependencies?
I intend to do so within the Mandriva Linux.
Perhaps something like this but, for other distributions, can help me.
Thank you in advance.
2. Re: VXEUPHORIA - step by step
- Posted by sergelli May 13, 2012
- 2989 views
Installing wxEuphoria:
When I typed ". / Configure" did not work. So, I removed all caracters "^ M" at the end of the line. After that, the ". / Configure" ran.
Now, is giving another error: "No package 'gtk + -2.0' found" But this package is installed in my system.
Any suggestions?
3. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 13, 2012
- 3007 views
Installing wxEuphoria:
When I typed ". / Configure" did not work. So, I removed all caracters "^ M" at the end of the line. After that, the ". / Configure" ran.
Now, is giving another error: "No package 'gtk + -2.0' found" But this package is installed in my system.
Any suggestions?
From readme.txt:
* Dependencies: You must have the following packages installed in order to build wxEuphoria from source: * libwxgtk2.9-dev * gtk+-2.0-dev * libpango1.0-dev
That's for 2.9. Substitute 2.8 above to be able to build against wxWidgets 2.8. Those files include the headers that you need in order to properly link against those libraries. They're separate than the libraries themselves.
Matt
4. Re: VXEUPHORIA - step by step
- Posted by sergelli May 13, 2012
- 3027 views
Thanks. Now I'm running with wxEu.
I installed WxIde, but the lines of open files, comes without the first character.
What might be happening?
5. Re: VXEUPHORIA - step by step
- Posted by sergelli May 13, 2012
- 2954 views
OK, now I saw that WxIde open Linux files correctly, but does not bring the first character of the lines of the files stored on Windows systems.
This is the reason for cutting the first character?
If so, how do I fix this? Or how to transform windows file system for Linux?
6. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 14, 2012
- 2917 views
OK, now I saw that WxIde open Linux files correctly, but does not bring the first character of the lines of the files stored on Windows systems.
This is the reason for cutting the first character?
If so, how do I fix this? Or how to transform windows file system for Linux?
I think this is basically my buggy attempt at supporting unicode and determining the encoding. I probably need to rip out that stuff and rewrite it.
Matt
7. Re: VXEUPHORIA - step by step
- Posted by sergelli May 14, 2012
- 2892 views
I'll report some difficulty I had trying to use the WxEuphoria.
Some lines that need to be modified in the install.txt file, not to confuse the newbies like me.
"You must have installed wxWidgets 2.8, Either from your distribution's package ......"
With the file "libwxeu.so" only, the library wxEuphoria already works. The words "You must have" above, confuses the beginner who will try to install wxWidgets.
This installation is very difficult and did not seem necessary to me.
Is that correct? If not correct, write about the reason to do this installation.
I had another problem within the file "install.txt" in line:
"Put: wxEuphoria/include/wxeud.e into the directory ... $ EUINC on your path. "
In this case, I like the goofy, I did so:
EUINC = /home/sergio/wxEuphoria/include/wxeud.e
And, of course, does not work. The Right is:
EUINC = /home/sergio/wxEuphoria/include
Also would be nice, remember the beginner to make a new login, to reset these variables.
For now it is just that.
If you wish, I keep telling my suggestions to help beginners. But if I'm bothering you, let me know.
Thanks
Sérgio
8. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 14, 2012
- 2793 views
I'll report some difficulty I had trying to use the WxEuphoria.
Some lines that need to be modified in the install.txt file, not to confuse the newbies like me.
"You must have installed wxWidgets 2.8, Either from your distribution's package ......"
With the file "libwxeu.so" only, the library wxEuphoria already works. The words "You must have" above, confuses the beginner who will try to install wxWidgets.
This installation is very difficult and did not seem necessary to me.
Is that correct? If not correct, write about the reason to do this installation.
It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.
I had another problem within the file "install.txt" in line:
"Put: wxEuphoria/include/wxeud.e into the directory ... $ EUINC on your path. "
In this case, I like the goofy, I did so:
EUINC = /home/sergio/wxEuphoria/include/wxeud.e
And, of course, does not work. The Right is:
EUINC = /home/sergio/wxEuphoria/include
Also would be nice, remember the beginner to make a new login, to reset these variables.
For now it is just that.
If you wish, I keep telling my suggestions to help beginners. But if I'm bothering you, let me know.
All of the references to $EUINC should be removed, actually. You should really be managing your include directories with eu.cfg files. Those changes take effect immediately, which is one (major, IMHO) advantage over environment variables.
Thanks for the heads up.
Matt
9. Re: VXEUPHORIA - step by step
- Posted by sergelli May 14, 2012
- 2818 views
It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.
OK. You're right, on my Linux, I found the wxWidgets, in the following folder
usr/share/codeblocks/templates/wizard/wxwidgets
This is interesting because in the Mandriva repositories do not have this package
All of the references to $EUINC should be removed, actually. You should really be managing your include directories with eu.cfg files. Those changes take effect immediately, which is one (major, IMHO) advantage over environment variables.
Thanks for the heads up.
Matt
eu.cfg ? uh...?
I'll try to learn about it
Thanks
Sérgio
10. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 14, 2012
- 2851 views
It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.
OK. You're right, on my Linux, I found the wxWidgets, in the following folder
usr/share/codeblocks/templates/wizard/wxwidgets
This is interesting because in the Mandriva repositories do not have this package
The actual files are probably in /usr/lib. The package is probably named something like:
i libwxgtk2.8-0 - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime) p libwxgtk2.8-dbg - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) p libwxgtk2.8-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)That's output from aptitude on Kubuntu.
eu.cfg ? uh...?
I'll try to learn about it
Start here
Matt
11. Re: VXEUPHORIA - step by step
- Posted by jimcbrown (admin) May 14, 2012
- 2897 views
It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.
OK. You're right, on my Linux, I found the wxWidgets, in the following folder
usr/share/codeblocks/templates/wizard/wxwidgets
This is interesting because in the Mandriva repositories do not have this package
The actual files are probably in /usr/lib. The package is probably named something like:
i libwxgtk2.8-0 - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime) p libwxgtk2.8-dbg - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) p libwxgtk2.8-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)That's output from aptitude on Kubuntu.
Mark
wxWidget packages for Mandriva do seem to be out there, even if they are hard to find: http://rpmfind.net/linux/rpm2html/search.php?query=wxgtk2.8
12. Re: VXEUPHORIA - step by step
- Posted by sergelli May 14, 2012
- 2815 views
The actual files are probably in /usr/lib. The package is probably named something like:
i libwxgtk2.8-0 - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime) p libwxgtk2.8-dbg - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) p libwxgtk2.8-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)That's output from aptitude on Kubuntu. Mark
That means if I have installed libwxgtk2.8, I also have installed wxWidgets?
But that's not important now.Because the wxEuphoria running wel
13. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 14, 2012
- 2779 views
The actual files are probably in /usr/lib. The package is probably named something like:
i libwxgtk2.8-0 - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime) p libwxgtk2.8-dbg - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) p libwxgtk2.8-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)That's output from aptitude on Kubuntu. Mark
That means if I have installed libwxgtk2.8, I also have installed wxWidgets?
Yes, that is wxWidgets. It looked like you had installed Code Blocks, which is built from wxWidgets, so that may have been what installed the libraries. In fact, it is probably multiple libraries. For instance, on my system:
$ ldd l64/libwxeu.so.17 linux-vdso.so.1 => (0x00007fffa2bd7000) libwx_gtk2u_media-2.8.so.0 => /usr/lib/libwx_gtk2u_media-2.8.so.0 (0x00007f65b7321000) libwx_gtk2u_richtext-2.8.so.0 => /usr/lib/libwx_gtk2u_richtext-2.8.so.0 (0x00007f65b702c000) libwx_gtk2u_aui-2.8.so.0 => /usr/lib/libwx_gtk2u_aui-2.8.so.0 (0x00007f65b6dc3000) libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/libwx_gtk2u_xrc-2.8.so.0 (0x00007f65b6b3a000) libwx_gtk2u_html-2.8.so.0 => /usr/lib/libwx_gtk2u_html-2.8.so.0 (0x00007f65b6897000) libwx_gtk2u_adv-2.8.so.0 => /usr/lib/libwx_gtk2u_adv-2.8.so.0 (0x00007f65b65bd000) libwx_gtk2u_core-2.8.so.0 => /usr/lib/libwx_gtk2u_core-2.8.so.0 (0x00007f65b5fd7000) libwx_baseu_xml-2.8.so.0 => /usr/lib/libwx_baseu_xml-2.8.so.0 (0x00007f65b5dcd000) libwx_baseu_net-2.8.so.0 => /usr/lib/libwx_baseu_net-2.8.so.0 (0x00007f65b5b9f000) libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0x00007f65b585b000)
Matt
14. Re: VXEUPHORIA - step by step
- Posted by sergelli May 15, 2012
- 2778 views
About the file eu.cfg: I read the documentation but I'm not sure I understand.
The tests will involve restarts, and will take a long time, so I ask here if the below will work :)
My file. "Bash_profile" have no variables "EUDIR" and "EUINK"
The file "eu.cfg" has the following contents:
[all] EUDIR =/home/sergio/euphoria EUINC = /home/sergio/wxEuphoria/include
and "eu.cfg" is written to the directory: /home/sergio/euphoria
So? With this "eu.cfg" file, the Euphoria and wxEuphoria will work same if the system variables "EUDIR" and "EUINK" are inside the ".bash_profile" file?
Someone would have a "eu.cfg" file with comments, that I can see?
Thanks
15. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 15, 2012
- 2811 views
So? With this "eu.cfg" file, the Euphoria and wxEuphoria will work same if the system variables "EUDIR" and "EUINK" are inside the ".bash_profile" file?
Someone would have a "eu.cfg" file with comments, that I can see?
Actually, you probably shouldn't have EUDIR or EUINC in your eu.cfg file. I have .eu.cfg in my home dir, with this:
-i /usr/local/share/euphoria/include -i ~/eu -batch
So, when I run euphoria, it reads this, and looks for include files (the -i flag) in /usr/local/share/euphoria/include and in /eu. The /usr/local/share/euphoria/include is where I've installed euphoria after building it myself and using "make install."
The /eu is where I generally do my development. There are multiple directories in there, and when I include something, I prefix the name of the file with its directory. For instance, I do my wxeuphoria development in /eu/wxeu, so I use "include wxeu/wxeud.e". Also, when I build and install wxEuphoria, I put wxeud.e into /usr/local/share/euphoria/include/wxeu.
The eu.cfg system is pretty flexible, however, and so I actually have set up older releases of euphoria so that I can run them. I can put an eu.cfg file in the same directory as the interpreter, and the values in that eu.cfg file will be used before the values in the file in my home dir. For instance:
~/eu/oe-release/4.0.3/bin$ cat eu.cfg [all] -i ~/eu/oe-release/4.0.3/include [translate] -lib ~/eu/oe-release/4.0.3/bin/eu.aThat's what I have set up in order to have a functioning 4.0.3 environment. I also have a symlink, elsewhere (and in my $PATH) named eui403 that points to the copy of eui in that directory. Now, when I want to test something with 4.0.3, I can do so, including the correct standard library, without messing with environment variables or restarting a shell.
In other cases, I might want some specific settings for a particular project. I can put a special eu.cfg file in the directory where I'm working, and whenever I run something from that directory, the eu.cfg will be picked up, but it won't affect anything other than that particular project.
Matt
16. Re: VXEUPHORIA - step by step
- Posted by sergelli May 16, 2012
- 2679 views
Thanks for the explanation of the "eu.cfg."
Now, I am not able to solve a new problem:
After rebooting, when you run any "pgm.exw" the below message appears:
"Could not open library wxEuphoria. Press enter to abort."
To resolve this, I run again, the line below:
# Ldconfig /usr/local/lib
And it all comes back to work.
But, what I do for this not happen again?
17. Re: VXEUPHORIA - step by step
- Posted by mattlewis (admin) May 16, 2012
- 2645 views
To resolve this, I run again, the line below:
# Ldconfig /usr/local/lib
And it all comes back to work.
But, what I do for this not happen again?
The cache should persist across reboots. Did you make/install a new version after running ldconfig the last time?
Matt
18. Re: VXEUPHORIA - step by step
- Posted by sergelli May 19, 2012
- 2386 views
The cache should persist across reboots. Did you make/install a new version after running ldconfig the last time?
Matt
I'm not sure, I tried to do installations on multiple computers. I'm a little confused.
Now, I am currently trying to build the library in a notebook, and get the following message:
./configure: line 25: wx-config: comando não encontrado
./configure: line 26: wx-config: comando não encontrado
./configure: line 27: wx-config: comando não encontrado
translation:comando não encontrado = command not found
What can be causing this?
OK. wxWidgts missing...oh goofy!
Now compiling wxEuphoria.
./configure is ok
But, after "make" I get the message:
make: nothing to be done to "all"
What can be causing this?
OK, I solv this whit Erase and record again the wxEuphoria/src and the problem disappeared
But now, when using the:
make install
I get the following messages:
PREFIX = /usr/local
install -d /usr/local/lib
install libwxeu.so.16 /usr/local/lib
install -d /usr/local/share/euphoria/include/wxeu
install wxeud.e /usr/local/share/euphoria/include/wxeu
install: can not get status "wxeud.e": File or directory not found
make: [install] Erro 1
What can be causing this?
Despite of the above messages, the wxEuphoria system is fully installed. To worb, just type as root:
ldconfig /usr/local/lib
and now wxEuphoria works perfectly in my noteBook whit Mandriva 2011....phew....
Many thaks