1. iupeu and fedora 7

I'm trying iupeu under fedora 7 (in colinux session) but It doesn't work because
libiup.so doesn't load. fedora 7 use 2.6.12 kernel so I downloaded precompiled
libraries for 2.6 kernel, and installed all .a and .so files in /usr/lib/
What is the problem?

Jacques Deschênes.
P.S. under windows all iupeu examples runs without any problem.

new topic     » topic index » view message » categorize

2. Re: iupeu and fedora 7

jacques deschênes wrote:
> I'm trying iupeu under fedora 7 (in colinux session) but It doesn't work
> because
> libiup.so doesn't load. fedora 7 use 2.6.12 kernel so I downloaded precompiled
> libraries for 2.6 kernel, and installed all .a and .so files in /usr/lib/  
> What is the problem?

It is probably missing a dependency, most likely OpenMotif. The current version
of Iup (2.6) uses Motif on Linux. The next version which should be out in 2
months uses either Motif or GTK on Linux. You can also use GTK on Windows, if you
wish.

I have not used Iup on Redhat, I've used it on ArchLinux and Debian. But my
guess is installing OpenMotif will solve your problems.

If you still have problems, feel free to post here or jump on irc and maybe we
can work through it. irc.freenode.net channel #euphoria
 
> P.S. under windows all iupeu examples runs without any problem.

Great! I have made many additions to Iup. I've made some new include files such
as iupeu.e that makes working with Iup much easier yet. I have not committed it
to SVN yet as it still needs a bit of work for naming consistency.

I've also been working on a DBI interface, and have made an option include,
iupeudb.e which makes the list based controls DBI aware. Anyway, some good things
coming for Iup and DBI. Just working on Euphoria right this instant. I'll soon
wrap those other two items up and get a new Iup out. (DBI is not related to Iup,
it is a different project all together).

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

3. Re: iupeu and fedora 7

jacques deschênes wrote:
> 
> 
> I'm trying iupeu under fedora 7 (in colinux session) but It doesn't work
> because
> libiup.so doesn't load. fedora 7 use 2.6.12 kernel so I downloaded precompiled
> libraries for 2.6 kernel, and installed all .a and .so files in /usr/lib/  
> What is the problem?
> 
> Jacques Deschênes.
> P.S. under windows all iupeu examples runs without any problem.


Jacques:

   If you read this web page it may be help full to you.

   http://www.ibm.com/developerworks/linux/library/l-shobj/

   Installing shared libraries does not always create the SO LINK NAME

   that a program is looking for. So you may need to create a link.

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

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

4. Re: iupeu and fedora 7

Hi

Do this

cd /usr/lib
ldd ./libiup.so

install any librariries it says it can't find

Chris

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

5. Re: iupeu and fedora 7

ChrisBurch2 wrote:
> 
> 
> Hi
> 
> Do this
> 
> cd /usr/lib
> ldd ./libiup.so
> 
> install any librariries it says it can't find
> 

Hm. If you would, can you post here what you had to install? We can add that to
the wiki so others do not have to have the same hassle you did.

Thanks!

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

6. Re: iupeu and fedora 7

Hi

Sorry, can't remember, I just used YAST to search for the libraries, and
installed
them there. (YAST is the SuSE set up tool, so won't be applicable to Red Hat).

My downloads folder most recent entries contains the the libcd (cd library), 
which I may or may not have installed.

Chris

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

7. Re: iupeu and fedora 7

ChrisBurch2 wrote:
> 
> Hi
> 
> Sorry, can't remember, I just used YAST to search for the libraries, and
> installed
> them there. (YAST is the SuSE set up tool, so won't be applicable to Red Hat).
> 
> My downloads folder most recent entries contains the the libcd (cd library),
> 
> which I may or may not have installed.
> 

hehe. I wasn't very clear in my message. I meant if jacques deschênes could let
us know what was required on RedHat. Sorry, should have been more clear.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

8. Re: iupeu and fedora 7

Using the suggestion of Chris, it showed me that  libXm.so.3 was missing
searching the internet I found it be part of openmotif so Jeremy was right. But
pirut didn't display any open motif in is list of installable package but  there
was a lesstif 0.95.xx  which one was said to be a clone of openmotif so  I
installed it. But that package as no libXm.so.3 but a libXm.so.2 searching the
internet I found in a forum that I could solve the issue by creating a symlink
like this:
ln -s /usr/lib/libXm.so.2 /usr/lib/libXm.so.3

This seem to solve the issue partly. Well iupeu.e  can at least load libiup.so  
but no one of the examples run properly. Some crash, others display a window but
that window is completely unresponsive. Maybe lesstif is  incompatible with iup. 
I'll try to find an rpm of openmotif to install it.

Thanks to all of you for your quick replies.

Jacques Deschênes


Jeremy Cowgar wrote:
> 
> ChrisBurch2 wrote:
> > 
> > Hi
> > 
> > Sorry, can't remember, I just used YAST to search for the libraries, and
> > installed
> > them there. (YAST is the SuSE set up tool, so won't be applicable to Red
> > Hat).
> > 
> > My downloads folder most recent entries contains the the libcd (cd library),
> > 
> > which I may or may not have installed.
> > 
> 
> hehe. I wasn't very clear in my message. I meant if jacques deschênes could
> let us know what was required on RedHat. Sorry, should have been more clear.
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

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

9. Re: iupeu and fedora 7

jacques deschênes wrote:
> 
> This seem to solve the issue partly. Well iupeu.e  can at least load libiup.so
>   but no one of the examples run properly. Some crash, others display a window
> but that window is completely unresponsive. Maybe lesstif is  incompatible
> with
> iup.  I'll try to find an rpm of openmotif to install it. 
>

I should have warned you about that because the first time I used Iup, I made
the same mistake only to pull my hair out. lesstiff is a clone but in many ways
uncompatable getlost

You will need openmotif.
 
> Thanks to all of you for your quick replies.

You're welcome.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

10. Re: iupeu and fedora 7

I finally succeed to install openmotif 2.3.0 (tried and older version but didn't
work).

here the procedure for fedora 7
1) download 
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/openmotif-2.3.0-0.1.9.3.i386.rpm
2) rpm --nodeps -ivh openmotif-2.3.0-0.1.9.3.i386.rpm
3) ln -s /usr/lib/libXm.so.4.0.0 /usr/lib/libXm.so.3

examples that works:
clock.ew
getfilename.ew
gettext.ew
hello.ew
getcolor.ew
getlist.ew
rot13.ew

examples that fail:
imagelib.ew  (missing iupimagelib.e)
addressbook.ew  (display a windows with: "could not open or create database)

Jacques Deschênes


Jeremy Cowgar wrote:
> 
> jacques deschênes wrote:
> > 
> > This seem to solve the issue partly. Well iupeu.e  can at least load
> > libiup.so
> >   but no one of the examples run properly. Some crash, others display a
> >   window
> > but that window is completely unresponsive. Maybe lesstif is  incompatible
> > with
> > iup.  I'll try to find an rpm of openmotif to install it. 
> >
> 
> I should have warned you about that because the first time I used Iup, I made
> the same mistake only to pull my hair out. lesstiff is a clone but in many
> ways
> uncompatable getlost 
> 
> You will need openmotif.
>  
> > Thanks to all of you for your quick replies.
> 
> You're welcome.
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

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

11. Re: iupeu and fedora 7

jacques deschênes wrote:
> 
> I finally succeed to install openmotif 2.3.0 (tried and older version but
> didn't
> work).
> 
> examples that works:

Great! Thanks for posting this and being the first to give IupEu a try on
RedHat. I'll add your info to the wiki so others do not have to go through the
hassle you did.
 
> examples that fail:
> imagelib.ew  (missing iupimagelib.e)
> addressbook.ew  (display a windows with: "could not open or create database)
 
Hm. I do not know how iupimagelib.e got left out of the .zip file. You can get
it directly here:

http://jeremy.cowgar.com/svn/iupeu/trunk/include/iupimagelib.e

As for the Address Book not creating the database, weird. It is using EDS. I
just tried removing the database from my examples directory and running it, it
was created fine (ArchLinux). I then went to Windows and it worked also. Is there
a permissions problem? It's simple and just creates the database in the current
directory.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

12. Re: iupeu and fedora 7

I downloaded  imagelib.e and imagelib.ew is now working.
I delete addressbook.edb that was already existing and addressbook.ew created a
new one and now it works fine.

by the way I downloaded CD5  for open watcom 1.5 I have open watcom 1.7
installed but I don't have any idea how to convert the *.lib files into DLL. I
would be ready to wrap the CD5 library if I had the dll working.

thanks again.

jacques deschenes

Jeremy Cowgar wrote:
> 
> jacques deschênes wrote:
> > 
> > I finally succeed to install openmotif 2.3.0 (tried and older version but
> > didn't
> > work).
> > 
> > examples that works:
> 
> Great! Thanks for posting this and being the first to give IupEu a try on
> RedHat.
> I'll add your info to the wiki so others do not have to go through the hassle
> you did.
>  
> > examples that fail:
> > imagelib.ew  (missing iupimagelib.e)
> > addressbook.ew  (display a windows with: "could not open or create database)
>  
> Hm. I do not know how iupimagelib.e got left out of the .zip file. You can get
> it directly here:
> 
> <a
> href="http://jeremy.cowgar.com/svn/iupeu/trunk/include/iupimagelib.e">http://jeremy.cowgar.com/svn/iupeu/trunk/include/iupimagelib.e</a>
> 
> As for the Address Book not creating the database, weird. It is using EDS. I
> just tried removing the database from my examples directory and running it,
> it was created fine (ArchLinux). I then went to Windows and it worked also.
> Is there a permissions problem? It's simple and just creates the database in
> the current directory. 
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

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

13. Re: iupeu and fedora 7

jacques deschênes wrote:
> 
> I downloaded  imagelib.e and imagelib.ew is now working.
> I delete addressbook.edb that was already existing and addressbook.ew created
> a new one and now it works fine.

Ok. Maybe SVN corrupted the edb file. That's one thing I didn't try. I'll remove
the edb file from SVN and I'll make AddressBook add a few dummy records during
create.
 
> by the way I downloaded CD5  for open watcom 1.5 I have open watcom 1.7
> installed
> but I don't have any idea how to convert the *.lib files into DLL. I would be
> ready to wrap the CD5 library if I had the dll working.

OOOooooo! That would be FANTASTIC! I can give you SVN access to you can commit
to SVN. From:

http://www.tecgraf.puc-rio.br/iup/en/download_tips.html

You can download different types of files for different libs associated with
Iup. There are some files named such as:

cd5_0_Win32_dll_lib.zip

which should get you the already compiled dll files. That's what I do for
windows. Much easier than compiling the project for windows.

Send me an email with a username and password, and I will create an SVN account
for you. Thank you!

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu