1. ping! Matt Lewis - Debian, Ubuntu

Matt, could you put some special instructions for Debian and Debian-derived
distros like Ubuntu either on your wxEuphoria website or in the install.txt that
comes with wxEuphoria or both?

So far I received at least 3 emails about dmak from people with Debian/Ubuntu
related problems.

new topic     » topic index » view message » categorize

2. Re: ping! Matt Lewis - Debian, Ubuntu

Jerry Story wrote:
> 
> Matt, could you put some special instructions for Debian and Debian-derived
> distros like Ubuntu either on your wxEuphoria website or in the install.txt
> that comes with wxEuphoria or both?
> 
> So far I received at least 3 emails about dmak from people with Debian/Ubuntu
> related problems.

OK.  How was it resolved?  I haven't had a chance to try messing with symlinks
or otherwise debug so loading problems.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

3. Re: ping! Matt Lewis - Debian, Ubuntu

Matt Lewis wrote:
> OK.  How was it resolved?  I haven't had a chance to try messing with
> symlinks or otherwise debug so loading problems.
> 
> Matt Lewis

Actually two problems. The first problem was the xterm problem and it was solved
by 'export TERM=ansi'.

The second problem was
"The wxEuphoria library "wxeu.so" could not be opened."
(wxeu.so was in the right place)

I did not yet receive confirmation of your solution to this problem.
(Maybe they don't want to go to too much trouble just to make a program work.)

new topic     » goto parent     » topic index » view message » categorize

4. Re: ping! Matt Lewis - Debian, Ubuntu

Jerry Story wrote:
> 
> Matt Lewis wrote:
> > OK.  How was it resolved?  I haven't had a chance to try messing with
> > symlinks or otherwise debug so loading problems.
> > 
> > Matt Lewis
> 
> Actually two problems. The first problem was the xterm problem and it was
> solved
> by 'export TERM=ansi'.
> 
> The second problem was
> "The wxEuphoria library "wxeu.so" could not be opened."
> (wxeu.so was in the right place)
> 
> I did not yet receive confirmation of your solution to this problem.
> (Maybe they don't want to go to too much trouble just to make a program work.)


OK.  I'll look into the so issue some more to see what the problem is.
Has anyone else had problems with wxEuphoria on a Debian-based distro?
Or any other distros, I suppose.  I suspect it's a similar problem to 
what Bernie's been dealing with...

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

5. Re: ping! Matt Lewis - Debian, Ubuntu

Matt Lewis wrote:
> 
> Jerry Story wrote:
> > 
> > Matt Lewis wrote:
> > > OK.  How was it resolved?  I haven't had a chance to try messing with
> > > symlinks or otherwise debug so loading problems.
> > > 
> > > Matt Lewis
> > 
> > Actually two problems. The first problem was the xterm problem and it was
> > solved
> > by 'export TERM=ansi'.
> > 
> > The second problem was
> > "The wxEuphoria library "wxeu.so" could not be opened."
> > (wxeu.so was in the right place)
> > 
> > I did not yet receive confirmation of your solution to this problem.
> > (Maybe they don't want to go to too much trouble just to make a program
> > work.)
> 
> 
> OK.  I'll look into the so issue some more to see what the problem is.
> Has anyone else had problems with wxEuphoria on a Debian-based distro?
> Or any other distros, I suppose.  I suspect it's a similar problem to 
> what Bernie's been dealing with...
> 
> Matt Lewis

I did a little investigation on this problem some time ago. Here it is again, if
you missed it:

Matt Lewis wrote:
> 
> Jerry Story wrote:
> > 
> > I got an email from a guy who has trouble running dmak.
> > The facts are as follows:
> > * He is running Ubuntu Linux.
> > * He is getting a message saying that wxeu.so is not being read.
> > * wxeu.so is installed in /usr/lib
> > * He says according to strace, it looks like it is being read.
> > * He found on EUforum a suggestion from Matt Lewis to build wxEuphoria with
> > patches.
> > * He wants to know if this is a good idea.
> > * If so, he wants to know how to do it.
> > * He is not thrilled with his first experience with Euphoria/wxEuphoria.
> > 
> > * In the linux.com article, dmak "worked flawlessly on Ubuntu".
> > 
> > What should I tell him?
> 
> I can't use the supplied wxeu.so on my coLinux Debian box, and have to
> build separately, so I know his pain.  I don't know why this doesn't 
> work.  On Linux it shouldn't be too difficult to rebuild from source.
> You need the wxWidgets 2.4.2 source, then apply the patches.  From
> the base directory where you unpacked the source:
> 
> $ ./configure --with-gtk
> $ make
> 
> There will be a .so in the lib/ directory (something like libwxgtk24.so).
> That needs to be copied to /usr/lib/wxeu.so.
> 
> Matt Lewis

Sorry for the mangled message. It should have read:

> He could also try running ldd /usr/lib/wxeu.so. It should complain if not
> all libraries needed are installed.

I downloaded wxeu.so and ran ldd on it. Result: 

$ ldd wxeu.so
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb79c6000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7990000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb798d000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0xb798a000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7964000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7950000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb794c000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7944000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7936000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb786b000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7846000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7825000)
        libtiff.so.3 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0xb7811000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb77ec000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7732000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7727000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75f0000)
        /lib/ld-linux.so.2 (0x80000000)

That is, libtiff.so.3 is missing. Seeing that libtiff.so.3 wasn't included in
debian, I googled a bit and found the following:

http://lists.debian.org/debian-release/2004/07/msg00065.html

"Version 3.6.1
is the last version of libtiff that will be released as libtiff.so.3.
(To be complete: programs that only use the "TIFF" type, and not the
"TIFFRGBAImage" type, will most likely continue to work properly with
either version of the library.  There are a few other minor changes,
but they may or may not impact the public ABI.)"

That is, it's not really a debian problem, the problem is that wxeuphoria is
built with an old and obsolete version of libtiff.

You could try the following:

1. symlinking libtiff.so.4 to libtiff.so.3 (ln -s /usr/lib/libtiff.so.4
/usr/lib/libt
iff.so.3)

2. get a copy of libtiff3g from ftp://ftp.debian.org/debian/pool/main/t/tiff/
and install it with dpkg -i.

3. download the package files of 3.6.1-5 from
http://snapshot.debian.net/libtiff4, build the package manually, and install it.

(note that the two last solutions may be dangerous)

Regards, Alexander Toresson

new topic     » goto parent     » topic index » view message » categorize

6. Re: ping! Matt Lewis - Debian, Ubuntu

Alexander Toresson wrote:
> 
> Matt Lewis wrote:
> > 
> > OK.  I'll look into the so issue some more to see what the problem is.
> > Has anyone else had problems with wxEuphoria on a Debian-based distro?
> > Or any other distros, I suppose.  I suspect it's a similar problem to 
> > what Bernie's been dealing with...
> > 
> > Matt Lewis
> 
> I did a little investigation on this problem some time ago. Here it is again,
> if you missed it:
> 

<snipped>
Thanks, I'll try it out...

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

7. Re: ping! Matt Lewis - Debian, Ubuntu

> Matt, could you put some special instructions for
> Debian and Debian-derived distros like Ubuntu either
> on your wxEuphoria website or in the install.txt
> that comes with wxEuphoria or both?
> 
> So far I received at least 3 emails about dmak from
> people with Debian/Ubuntu related problems.
> 

Matt, if you need help with this issue please let me
know.  I would be happy to write a "how-to" on the
fastest way to solve this problem.  I can have that
info for you by tomorrow late afternoon. (5:00pm est)

--
Ronald Weidner
http://www.techport80.com
PHP Software developer for hire.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu