1. XMOTOR

Ken Rhodes
100% MicroSoft Free
SuSE Linux 10.0
No AddWare, SpyWare, or Viruses!
Life is Good  smile

new topic     » topic index » view message » categorize

2. Re: XMOTOR

Sorry about the empty message.

Bernie,  I believe I have followed your instructions
regarding ldconfig to the letter.  And by the way,
thanks for that little tutorial :)

Unfortunately, XMOTOR still doesn't run for me.

I did find libx11.so.6 and libx11.so.6.2 in:
usr/X11R6/lib/

Will xmotor use either of these files?

Regards,

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

3. Re: XMOTOR

Hi

a_*.exu, and x_*.exu worked fine, m_* didn't, on SuSE 7.1, and SuSE 9.1.
m_*.exu reported not being able to find libX11m (I think).

Just as an aside, Athena and motif widgets are very old, and very basic widgets.
Have you considered wrapping the xforms lib

http://savannah.nongnu.org/projects/xforms/

I would give it a go, but I'm just so slow, and crammed up to the eyeballs with
other stuff.

Chris

http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

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

4. Re: XMOTOR

Kenneth Rhodes wrote:
> 
> Sorry about the empty message.
> 
> Bernie,  I believe I have followed your instructions
> regarding ldconfig to the letter.  And by the way,
> thanks for that little tutorial :)
> 
> Unfortunately, XMOTOR still doesn't run for me.
> 
> I did find libx11.so.6 and libx11.so.6.2 in:
> usr/X11R6/lib/
> 
> Will xmotor use either of these files?
> 
> Regards,

I notice that libx11.so.6 and libx11.so.6.2 are using LOWERCASE x
instead of UPPERCASE X above if this is the case maybe your
symbolic-link libx11.so is using a LOWERCASE x
that may be why XMOTOR can't find it maybe it has something to do
with SuSE ?

Anyway if that is the case then try going into include file
called x11lib.eu and at the top change library("libX11.so")
to library("libx11.so")

The library built-in functions xcolor() xcustomcolor()
won't work because they are internally using "libX11.so"
but that will not prevent you from running demos.

 
Bernie

My files in archive:
motor.eu w32engin.ew mixedlib.e eu_engin.e win32eru.exw

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

5. Re: XMOTOR

Chris Burch wrote:
> 
> Hi
> 
> a_*.exu, and x_*.exu worked fine, m_* didn't, on SuSE 7.1, and SuSE 9.1.
> m_*.exu reported not being able to find libX11m (I think).
> 
> Just as an aside, Athena and motif widgets are very old, and very basic
> widgets.
> Have you considered wrapping the xforms lib
> 
> <a
> href="http://savannah.nongnu.org/projects/xforms/">http://savannah.nongnu.org/projects/xforms/</a>
> 
> I would give it a go, but I'm just so slow, and crammed up to the eyeballs
> with
> other stuff.
> 
> Chris
> 
> <a
> href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> <a href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> <a
> href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>

The demos m_notebk.exu and m_text.eu use Motif which uses "libXm.so"
You might search your sytem for that link.

I didn't want to use xforms or other libraries because I want to use
libraries that come on most newer versions of Linux. That way the
user would'nt have to download other libraries to use euphoria
to write x-programs. 


Bernie

My files in archive:
motor.eu w32engin.ew mixedlib.e eu_engin.e win32eru.exw

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

6. Re: XMOTOR

Bernie Ryan wrote:
> 
> Igor Kachan wrote:
> >
 
[snip]
 
> > What about unshrouded version to run it with
> > bilingual Euphoria? Bilingual EU can not use
> > the shrouded libs.
> > 
> > Maybe some time later on?
> > 
> 
> I do not understand why Bilingual EU can not use the shrouded libs?
> Is Bilingual EU different then RDS EU ?

It is compiled using RDS licensed C source code which
doesn't have il-decoder. Binder and this il-decoder 
both are RDS secret.

So bilingual EU interpreter is as fast as official EU
interpreter, but can not run il-files. It supports
translation into standard English EU code, so I can
bind my code or translate/compile it using E2C,
but I must run il-files or use shrouded libs
with the official RDS interpreter only.

Do not worry, any one can run XMOTOR as it is,
official RDS interpreter is PD. 

Regards,
Igor Kachan
kinz at peterlink.ru

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

7. Re: XMOTOR

Rats - I reported wrong - here's what I have:



ken@linux:~/euprogs/xmotor> ls /usr/X11R6/lib/libX11*
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.2

ken@linux:~/euprogs/xmotor> ls
a_demo.exu  a_v_demo.exu  include  main_.h       m_text.exu
a_text.exu  docs          init_.c  m_notebk.exu  x_demo.exu

ken@linux:~/euprogs/xmotor> exu x_demo.exu

 Can not open library libX11.so



Ken Rhodes
100% MicroSoft Free
SuSE Linux 10.0
No AddWare, SpyWare, or Viruses!
Life is Good  smile

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

8. Re: XMOTOR

Kenneth Rhodes wrote:
> 
> Rats - I reported wrong - here's what I have:
> 
> 
> ken@linux:~/euprogs/xmotor> ls /usr/X11R6/lib/libX11*
> /usr/X11R6/lib/libX11.so.6
> /usr/X11R6/lib/libX11.so.6.2
> 
> ken@linux:~/euprogs/xmotor> ls
> a_demo.exu  a_v_demo.exu  include  main_.h       m_text.exu
> a_text.exu  docs          init_.c  m_notebk.exu  x_demo.exu
> 
> ken@linux:~/euprogs/xmotor> exu x_demo.exu
> 
>  Can not open library libX11.so
> 
> 
> Ken Rhodes
> 100% MicroSoft Free
> SuSE Linux 10.0
> No AddWare, SpyWare, or Viruses!
> Life is Good  smile

Try doing this:

As root, cd /usr/lib
$ ln -s libX11.so /usr/X11R6/lib/libX11.so.6
(note the case)

Bernie

My files in archive:
motor.eu w32engin.ew mixedlib.e eu_engin.e win32eru.exw

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

9. Re: XMOTOR

Bernie Ryan wrote:
> 
> Kenneth Rhodes wrote:
> > 

> 
> Try doing this:
> 
> As root, cd /usr/lib
> $ ln -s libX11.so /usr/X11R6/lib/libX11.so.6
> (note the case)
> 

Thanks for all your help, Bernie, but,

still doesn't work:
linux:/usr/X11R6/lib # ln -s libX11.so /usr/X11R6/lib/libX11.so.6
ln: creating symbolic link `/usr/X11R6/lib/libX11.so.6' to `libX11.so': File
exists
exists

Could placing /usr/X11Rb/lib/ in my path help?

I think I had a problem like this before and someone on the SuSE mailing
list suggested that - and it worked.  I believe it was for Java - could
be wrong, but it was something that I hadn't ever had to install a path
to before - at least with Mandrake Linux.   I'll give it a try anyway.
And if doesn't work, I'll  post a query to the SuSE help list.

However, if you have any more ideas I'm always open to suggestions.
Something is obviously awry - jetvetsql doesn't work either.

Thanks again,

Ken Rhodes
100% MicroSoft Free
SuSE Linux 10.0
No AddWare, SpyWare, or Viruses!
Life is Good  smile

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

10. Re: XMOTOR

Vincent wrote:
> 
> Bernie Ryan wrote:
> 
> > I do not understand why Bilingual EU can not use the shrouded libs ?
> > Is Bilingual EU different then RDS EU ?
> 
> The v2.4 shroud decoder has been ommited from the C back-end source code
> product
> and Public Domain source code. RDS should not release the decoder for security
> reasons. Only official RDS Euphoria supports this feature.
> 
> Why would you shroud it anyway? Ryan Johnson has also expressed dispointment
> with that decision.
> 

Vincent:
  Shrouded includes work ok with Public Domain version of EXU
  on Linux and EXW.EXE on Windows.

Bernie

My files in archive:
motor.eu w32engin.ew mixedlib.e eu_engin.e win32eru.exw

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

11. Re: XMOTOR

Kenneth Rhodes wrote:
> 
> Thanks for all your help, Bernie, but,
> 
> still doesn't work:
> linux:/usr/X11R6/lib # ln -s libX11.so /usr/X11R6/lib/libX11.so.6
> ln: creating symbolic link `/usr/X11R6/lib/libX11.so.6' to `libX11.so': File
> exists

Your link command is backwards. If you're in the /usr/X11R6/lib directory, then
do this:
ln -s libX11.so.6 libX11.so

> 
> Could placing /usr/X11Rb/lib/ in my path help?
> 

ldconfig should set up /etc/ld.so.cache to find it. /usr/X11R6/lib should be in
/etc/ld.so.conf for ldconfig to check it.

> I think I had a problem like this before and someone on the SuSE mailing
> list suggested that - and it worked.  I believe it was for Java - could
> be wrong, but it was something that I hadn't ever had to install a path
> to before - at least with Mandrake Linux.   I'll give it a try anyway.
> And if doesn't work, I'll  post a query to the SuSE help list.
> 
> However, if you have any more ideas I'm always open to suggestions.
> Something is obviously awry - jetvetsql doesn't work either.
> 
> Thanks again,
> 
> Ken Rhodes
> 100% MicroSoft Free
> SuSE Linux 10.0
> No AddWare, SpyWare, or Viruses!
> Life is Good  smile


~[ WingZone ]~
http://wingzone.tripod.com/

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

12. Re: XMOTOR

Kenneth Rhodes wrote:
> 
> Bernie Ryan wrote:
> > 
> > Kenneth Rhodes wrote:
> > > 
> 
> > Try doing this:
> > 
> > As root, cd /usr/lib
> > $ ln -s libX11.so /usr/X11R6/lib/libX11.so.6
> > (note the case)
> > 
> 
> Thanks for all your help, Bernie, but,
> 
> still doesn't work:
> linux:/usr/X11R6/lib # ln -s libX11.so /usr/X11R6/lib/libX11.so.6
> ln: creating symbolic link `/usr/X11R6/lib/libX11.so.6' to `libX11.so': File
> exists
> exists
> 
> Could placing /usr/X11Rb/lib/ in my path help?
> 
> I think I had a problem like this before and someone on the SuSE mailing
> list suggested that - and it worked.  I believe it was for Java - could
> be wrong, but it was something that I hadn't ever had to install a path
> to before - at least with Mandrake Linux.   I'll give it a try anyway.
> And if doesn't work, I'll  post a query to the SuSE help list.
> 
> However, if you have any more ideas I'm always open to suggestions.
> Something is obviously awry - jetvetsql doesn't work either.
> 
> Thanks again,
> 
> Ken Rhodes
> 100% MicroSoft Free
> SuSE Linux 10.0
> No AddWare, SpyWare, or Viruses!
> Life is Good  smile

Hi

This is very puzzling.

It seems this issue applies to both the sqlite libraries and the Lib x11
libraries. So just to recap

There is no reference on my system path to /usr/lib.

I always run ldconfig after installing a new library.

You have checked the case of the libraries installed.

In the case of sqlite, you checked that there is a symlink pointing to
sqlite-3.3.4.so (sqlite3.so) in /usr/lib.

Just as an experiment, could you change the line in eusqlite3.ew (line 175)
from
      sqlite3_dll = open_dll("sqlite-3.0.8.so")
to
      sqlite3_dll = open_dll("sqlite-3.3.4.so")
or whatever the library name you installed into /usr/lib

Note, this is a console based application, and no other libraries are required
to make it run. Incidentally, you aren't double clicking on jetvet.exu from a
file manager are you?

Chris

http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

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

13. Re: XMOTOR

SUCCESS!  neat program!

Thanks Chris!


Chris Burch wrote:

> Just as an experiment, could you change the line in eusqlite3.ew (line 175)
> from
>       sqlite3_dll = open_dll("sqlite-3.0.8.so")
> to
>       sqlite3_dll = open_dll("sqlite-3.3.4.so")
> or whatever the library name you installed into /usr/lib
> 

BINGO!  this worked:
--sqlite-3.3.4.so
global atom sqlite3_dll
--if platform() = LINUX then sqlite3_dll = link_dll("sqlite-3.0.8.so")
if platform() = LINUX then sqlite3_dll = link_dll("sqlite-3.3.4.so")
else sqlite3_dll = link_dll("sqlite3.dll")
end if

> Note, this is a console based application, and no other libraries are required
> to make it run. Incidentally, you aren't double clicking on jetvet.exu from
> a file manager are you?

nope



Ken Rhodes
100% MicroSoft Free
SuSE Linux 10.0
No AddWare, SpyWare, or Viruses!
Life is Good  smile

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

14. Re: XMOTOR

Kenneth Rhodes wrote:
> 
> SUCCESS!  neat program!
> 
> Thanks Chris!
> 
> 
> Chris Burch wrote:
> 
> > Just as an experiment, could you change the line in eusqlite3.ew (line 175)
> > from
> >       sqlite3_dll = open_dll("sqlite-3.0.8.so")
> > to
> >       sqlite3_dll = open_dll("sqlite-3.3.4.so")
> > or whatever the library name you installed into /usr/lib
> > 
> 
> BINGO!  this worked:
> --sqlite-3.3.4.so
> global atom sqlite3_dll
> --if platform() = LINUX then sqlite3_dll = link_dll("sqlite-3.0.8.so")
> if platform() = LINUX then sqlite3_dll = link_dll("sqlite-3.3.4.so")
> else sqlite3_dll = link_dll("sqlite3.dll")
> end if
> 

smile

> > Note, this is a console based application, and no other libraries are
> > required
> > to make it run. Incidentally, you aren't double clicking on jetvet.exu from
> > a file manager are you?
> 
> nope
> 
> 
> Ken Rhodes
> 100% MicroSoft Free
> SuSE Linux 10.0
> No AddWare, SpyWare, or Viruses!
> Life is Good  smile


http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

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

15. Re: XMOTOR

Ken:

  Did you see the last post by Elliott ?

Be sure to use proper case and sign in as root.  

IF you are in the directory :

 /usr/lib 


THEN you need to use the command:

ln -s libX11.so /usr/X11R6/lib/libX11.so.6

IF you are in the directory :

 /usr/X11R6/lib

THEN you need to use the command:

  ln -s libX11.so /usr/X11R6/lib/libX11.so.6


 You were trying to set the link backwards.


Bernie

My files in archive:
motor.eu w32engin.ew mixedlib.e eu_engin.e win32eru.exw

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

16. Re: XMOTOR

Bernie Ryan wrote:
> 
> 
> Ken:
> 
>   Did you see the last post by Elliott ?
> 
> Be sure to use proper case and sign in as root.  
> 
> IF you are in the directory :
> 
>  /usr/lib 
> 
> 
> THEN you need to use the command:
> 
> ln -s libX11.so /usr/X11R6/lib/libX11.so.6
> 
> IF you are in the directory :
> 
>  /usr/X11R6/lib
> 
> THEN you need to use the command:
> 
>   ln -s libX11.so /usr/X11R6/lib/libX11.so.6
> 
> 
>  You were trying to set the link backwards.
> 
> Bernie

Hi, Bernie,

Yes, I saw Elliotts post and followed his instructions
- alas, to no avail.

I've tried again here as you can see: as root...

linux:/usr/X11R6/lib # ls libX11*
libX11.so.  libX11.so.6  libX11.so.6.2
linux:/usr/X11R6/lib # ln -s libX11.so /usr/X11R6/lib/libX11.so.6
ln: creating symbolic link `/usr/X11R6/lib/libX11.so.6' to `libX11.so': File
exists
linux:/usr/X11R6/lib #


exu x_demo.exu
Can not open library libX11.so

I've obviously screwed up something on my system regarding X11, Royally.

I've posted this infor to the SuSE mailing list. Perhaps they'll be
able to straighten me out.  

Frankly, I'm waiting for SuSE 10.1 to be released. However, I might
even switch back to Mandrake, particularly if Robert decides to use
Mandrake for Euphoria 3.0.

Thanks again to Bernie, Chris, Elliott and all who have tried to
help me resolve this problem.

Ken Rhodes
100% MicroSoft Free
SuSE Linux 10.0
No AddWare, SpyWare, or Viruses!
Life is Good  smile

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

17. Re: XMOTOR

> Mike:
> 
>   Did you get a chance to try out my XMOTOR for linux ?
>   It just went to the bottom of the list ):
> 
> Bernie
> 

Sorry, Bernie, I haven't had a chance yet.  I've been living in database 
dungeons for the past six months using ODBC or MySQL wrappers.  I'm 
definitely interested in the idea of your multi-level UI library, but I'm going
to have to hold off until I have a bit more time to play.  I periodically go
through the contributions and pull everything for Linux, even if I'm not
going to use it for a while, so next time I do, I'll grab it.  Keep up the
good work.

Mike

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

Search



Quick Links

User menu

Not signed in.

Misc Menu