RevXML/RevDB calls on MacOSX

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

RevXML/RevDB calls on MacOSX

Post by Janschenkel » Thu Apr 13, 2006 8:45 pm

Hi All,

While I've been able to make revXML and revDB calls work from the Rev cgi-engine on Windows, I can get results from neither revXML nor revDB calls using the Darwin/OSX engine.

I've tossed all the external bundles, as well as the database drivers, directly into the /Library/WebServer/CGI-Executables/ folder, along with my test script, but no luck.

The error I keep getting is (copy from Console)

Revolution: Script execution error at line 6, column 7
[Thu Apr 13 22:10:31 2006] [error] [client 127.0.0.1] Premature end of script headers: /Library/WebServer/CGI-Executables/dbtest.rev

And line 6 of my script is:
put revdb_connect("MySQL","localhost","test","root","password",false) into tConnectionID

So it looks like it's unable to find the 'revdb_connect()' function.

Any thought on how I can revive this? I'd rather not drop into Windows for my demo at RevConWest

Thanks in advance for your hints,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Post by BvG » Thu Apr 13, 2006 8:52 pm

You too?

I tried to use MySQL with rev cgi's the Christmas of 2005. Remembering it right, i even opened a Support incident, and never got a mail back from Mark Waddingham after Jacqueline Gay tried to help me.
Then i didn't care much, as the project i was using it for was postponed, but soon we will take it back up, and i might need SQL & CGI yet again...

sorry that i can't help you with better news :(
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Thu Apr 13, 2006 9:02 pm

Well, let's hope this separate forum is an indication that a renewal of the CGI engines is in the cards (ooh, another bad pun).

In the meantime, I'll either have to use a Windows machine to act as server, or I'll implement a simple HTTP-server in Rev and return the data from there instead of through a cgi script.

Thanks for the feedback,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

revdan
Posts: 21
Joined: Sat Apr 08, 2006 5:59 am

How About Linux?

Post by revdan » Fri Apr 14, 2006 6:37 am

Does this database and XML stuff work on Linux servers? I'd think that would be a bigger issue since not many people are running Windows servers and even fewer are running Mac servers.

Dave Cragg
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 11
Joined: Sun Apr 09, 2006 6:36 am

Post by Dave Cragg » Fri Apr 14, 2006 7:27 am

Jan, I've been successfully using db calls to MySQL with Rev cgi on OS X. The darwin engine I use reports a version of 2.5G. I don't recall when or where I obtained it. But it came with its own driver for mySQL. In this version, I believe the DB externals are compiled inside the engine.

Let me know if you need more information.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Re: How about Linux

Post by Janschenkel » Fri Apr 14, 2006 7:48 am

The good news is that it does work on Linux - though setting things up can be tricky, especially to make the engine find the database drivers.

From an old post by Mark Waddingham on the use-rev list:
Mark Waddingham wrote:The Revolution 2.5 (and up) Linux engine has both revXML and revDB embedded within it, so the externals are not necessary. However, the database drivers themselves are not embedded and you need to tell the engine where to find them by doing:

Code: Select all

revdb_setdriverpath <path_to_drivers>
  or
revSetDatabaseDriverPath <path_to_drivers>
Where <path_to_drivers> is the directory containing the drivers. Also, Linux paths are case-sensitive so make sure that the value you pass for the database type looks the same as the driver file:
- if you pass "mysql" the engine will look for dbmysql.so
- if you pass "MySQL" the engine will look for dbMySQL.so
So now we have to wait for equal support in Darwin/MacOSX - one could probably build a simple CGI that doesn't connect to the database but in turn calls a local Rev-based HTTP-server and shoves the result back through Apache, similar to the way Pierre Sahores employs PHP as a conduit for HTTP-requests in his setup described here:
http://istream.homeunix.com/insead/index_en.html

Please note that this workaround shouldn't stop the RunRev team from working on a complete built-in solution ;-)

Jan Schenkel. :)
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Re: Dave Cragg

Post by Janschenkel » Mon Apr 17, 2006 10:28 am

Dave Cragg wrote:an, I've been successfully using db calls to MySQL with Rev cgi on OS X. The darwin engine I use reports a version of 2.5G. I don't recall when or where I obtained it. But it came with its own driver for mySQL. In this version, I believe the DB externals are compiled inside the engine.

Let me know if you need more information.
Hi Dave,

Your message sent me digging through the ftp-site, and lo and behold, it contains a darwin.sit with a dbmysql.so file in the cgi-engines directory for Rev version 2.1
But when I put that one into my CGI-Executables directory, the Console complains it cannot find a library:

Code: Select all

dyld: Library not loaded: /usr/local/lib/libdl.1.dylib
  Referenced from: /Library/WebServer/CGI-Executables/Revolution
  Reason: image not found
From the ReadMe.txt file:

Code: Select all

If this is the case download, compile and install the library from
http://www.opendarwin.org/projects/dlcompat/
And that link failed to produce a downloadable file - so I googled for it, installed DarwinPorts and all that sort of un-fun. But still no luck. So if anyone has an idea on how to proceed from here, by all means, reply!

When the cgi-engines get revamped, a one-click installer would be good for those who don't like to go beyond Aqua :-)

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Post by BvG » Mon Apr 17, 2006 2:39 pm

It works for me, with the 2.0 install that includes the mysql.so file. what i did was this:
  1. chmod the revolution file to 755
  2. chmod echo.mt to 755
  3. In the file echo.mt i changed the first line to be "#revolution"
  4. Additionally i commented out the "revdb_setdriverpath..." line
  5. Then i changed the "put revdb_connect..." line to fit my mysql table.
  6. Now i got the error that the file "libdl.1.dylib" is not in "/usr/local/lib/", so i made an empty file there, but that didn't help. So i googled it and found a downloadable at this site. which worked, insofar that i got another error.
  7. The new error was about the file "/usr/X11R6/lib/libX11.6.dylib". So i installed X11 which i got at apples site
Good that i know so much about computers, and have tried all this stuff in the Winter already, so that i knew to look in the console for the error logs (they where in Library/Logs->crashreporter->revolution.crash.log)

I am not so sure about 2.0's capabilities in regards to database, hasn't support for it changed quite a bit since then?

I also want a simpler way of doing this, preferable a one or two file solution, a one click installer isn't needed then.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Dave Cragg
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 11
Joined: Sun Apr 09, 2006 6:36 am

Post by Dave Cragg » Mon Apr 17, 2006 5:34 pm

Now i got the error that the file "libdl.1.dylib" is not in "/usr/local/lib/", so i made an empty file there, but that didn't help. So i googled it and found a downloadable at this site. which worked, insofar that i got another error.
I forgot about that inconvenience (and the X11 error too).

I created a link named /usr/local/lib/libdl.1.dylib that pointed to /usr/lib/libdl.dylib. I can't remember why I did that, but it worked.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Tue Apr 18, 2006 4:28 pm

Well, thanks to your help, I've come one step closer ; the console log doesn't complain about libdl1.dylib anymore *cheers*

However, now I'm stuck at:

Code: Select all

dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
  Referenced from: /Library/WebServer/CGI-Executables/Revolution
  Reason: image not found
It looks like the X11 server that comes with Tiger has changed around a few libraries, as it's not in there. I found a file libX11.a in there, but I don't think I can rename that and have it work. Inserting an empty file there didn't help either.

Any ideas on how to proceed?

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Dave Cragg
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 11
Joined: Sun Apr 09, 2006 6:36 am

Post by Dave Cragg » Tue Apr 18, 2006 8:23 pm

dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from: /Library/WebServer/CGI-Executables/Revolution
Reason: image not found
Do you have a file libX11.6.2.dylib? I have libX11.6.dylib as a link pointing to libX11.6.2.dylib. Again, I don't remember if I did that myself or not.

I love the Mac's ease of use.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Wed Apr 19, 2006 6:57 pm

Nope, the only dylib in that directory is libXpm.4.11.dylib and libXpm.dylib which is just a link to the first.

Code: Select all

imac-g5-van-jan-schenkel:/usr/X11R6/lib janschenkel$ ls -l -a
total 37520
drwxr-xr-x   49 root  wheel     1666 Apr 19 20:38 .
drwxr-xr-x    6 root  wheel      204 Dec 26 11:34 ..
-rw-r--r--    1 root  wheel    17000 Nov  2 03:10 libAppleWM.a
-rw-r--r--    1 root  wheel   144236 Nov  2 03:10 libFS.a
-rw-r--r--    1 root  wheel  1834956 Nov  2 03:10 libGL.a
-rw-r--r--    1 root  wheel  1635896 Nov  2 03:10 libGLU.a
-rw-r--r--    1 root  wheel    58564 Nov  2 03:10 libGLw.a
-rw-r--r--    1 root  wheel   251228 Nov  2 03:10 libICE.a
-rw-r--r--    1 root  wheel  3816484 Nov  2 03:10 libOSMesa.a
-rw-r--r--    1 root  wheel    83604 Nov  2 03:10 libSM.a
-rw-r--r--    1 root  wheel  2827396 Nov  2 03:10 libX11.a
-rw-r--r--    1 root  wheel     9120 Nov  2 03:10 libXRes.a
-rw-r--r--    1 root  wheel    74980 Nov  2 03:10 libXTrap.a
-rw-r--r--    1 root  wheel    22492 Nov  2 03:10 libXau.a
-rw-r--r--    1 root  wheel  1090092 Nov  2 03:10 libXaw.a
-rw-r--r--    1 root  wheel    82548 Nov  2 03:10 libXcursor.a
-rw-r--r--    1 root  wheel    54936 Nov  2 03:10 libXdmcp.a
-rw-r--r--    1 root  wheel   174788 Nov  2 03:10 libXext.a
-rw-r--r--    1 root  wheel  1360540 Nov  2 03:10 libXfont.a
-rw-r--r--    1 root  wheel     8160 Nov  2 03:10 libXfontcache.a
-rw-r--r--    1 root  wheel   187932 Nov  2 03:10 libXft.a
-rw-r--r--    1 root  wheel   120244 Nov  2 03:10 libXi.a
-rw-r--r--    1 root  wheel    11272 Nov  2 03:10 libXinerama.a
-rw-r--r--    1 root  wheel   279044 Nov  2 03:10 libXmu.a
-rw-r--r--    1 root  wheel    23372 Nov  2 03:10 libXmuu.a
-rw-r--r--    1 root  wheel    89092 Nov  2 03:10 libXp.a
-rw-r--r--    1 root  wheel    65016 Oct 20 00:07 libXpm.4.11.dylib
-rw-r--r--    1 root  wheel   183548 Nov  2 03:10 libXpm.a
lrwxr-xr-x    1 root  wheel       17 Dec 26 11:12 libXpm.dylib -> libXpm.4.11.dylib
-rw-r--r--    1 root  wheel    18192 Nov  2 03:10 libXrandr.a
-rw-r--r--    1 root  wheel    78620 Nov  2 03:10 libXrender.a
-rw-r--r--    1 root  wheel    13976 Nov  2 03:10 libXss.a
-rw-r--r--    1 root  wheel  1012636 Nov  2 03:10 libXt.a
-rw-r--r--    1 root  wheel    41588 Nov  2 03:10 libXtst.a
-rw-r--r--    1 root  wheel    29552 Nov  2 03:10 libXv.a
-rw-r--r--    1 root  wheel    16144 Nov  2 03:10 libXvMC.a
-rw-r--r--    1 root  wheel    17296 Nov  2 03:10 libXxf86misc.a
-rw-r--r--    1 root  wheel    35720 Nov  2 03:10 libXxf86vm.a
-rw-r--r--    1 root  wheel   936260 Nov  2 03:10 libdps.a
-rw-r--r--    1 root  wheel    71572 Nov  2 03:10 libdpstk.a
-rw-r--r--    1 root  wheel   538852 Nov  2 03:10 libexpat.a
-rw-r--r--    1 root  wheel    15616 Nov  2 03:10 libfntstubs.a
-rw-r--r--    1 root  wheel   433684 Nov  2 03:10 libfontconfig.a
-rw-r--r--    1 root  wheel    55588 Nov  2 03:10 libfontenc.a
-rw-r--r--    1 root  wheel   830004 Nov  2 03:10 libfreetype.a
-rw-r--r--    1 root  wheel    16952 Nov  2 03:10 liboldX.a
-rw-r--r--    1 root  wheel    48088 Nov  2 03:10 libpsres.a
-rw-r--r--    1 root  wheel   375124 Nov  2 03:10 libxkbfile.a
-rw-r--r--    1 root  wheel    19424 Nov  2 03:10 libxkbui.a
Any other clues?

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Dave Cragg
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 11
Joined: Sun Apr 09, 2006 6:36 am

Post by Dave Cragg » Wed Apr 19, 2006 7:32 pm

It looks like we're running two different systems. My list is below.

My machine is running 10.4.5. However, I made the X11 install some time back, from an Apple install disk. But I also just now made a first time X11 install on my Intel MacMini from that machine's install disk, and the list looks similar to the one below.

How did you make your X11 install?

Code: Select all

[davesg4-2:/usr/X11R6/lib] dave% ls -l
total 36160
drwxr-xr-x   25 root  wheel      850 Mar 28  2005 X11
-rw-r--r--    1 root  wheel    14308 Mar 20 20:18 libAppleWM.1.0.dylib
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libAppleWM.1.dylib -> libAppleWM.1.0.dylib
-rw-r--r--    1 root  wheel     9384 Mar 21  2005 libAppleWM.a
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libAppleWM.dylib -> libAppleWM.1.0.dylib
-rw-r--r--    1 root  wheel    48112 Mar 20 20:18 libFS.6.0.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libFS.6.dylib -> libFS.6.0.dylib
-rw-r--r--    1 root  wheel    81696 Mar 21  2005 libFS.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libFS.dylib -> libFS.6.0.dylib
-rw-r--r--    1 root  wheel   720168 Mar 20 20:18 libGL.1.2.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libGL.1.dylib -> libGL.1.2.dylib
-rw-r--r--    1 root  wheel  1023936 Mar 21  2005 libGL.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libGL.dylib -> libGL.1.2.dylib
-rw-r--r--    1 root  wheel   604780 Mar 20 20:18 libGLU.1.3.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libGLU.1.dylib -> libGLU.1.3.dylib
-rw-r--r--    1 root  wheel   881672 Mar 21  2005 libGLU.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libGLU.dylib -> libGLU.1.3.dylib
-rw-r--r--    1 root  wheel    33720 Mar 21  2005 libGLw.a
-rw-r--r--    1 root  wheel    86092 Mar 20 20:18 libICE.6.3.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libICE.6.dylib -> libICE.6.3.dylib
-rw-r--r--    1 root  wheel   138232 Mar 21  2005 libICE.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libICE.dylib -> libICE.6.3.dylib
-rw-r--r--    1 root  wheel  1451356 Mar 20 20:18 libOSMesa.4.0.dylib
lrwxr-xr-x    1 root  wheel       19 May  6  2005 libOSMesa.4.dylib -> libOSMesa.4.0.dylib
-rw-r--r--    1 root  wheel  2205192 Mar 21  2005 libOSMesa.a
lrwxr-xr-x    1 root  wheel       19 May  6  2005 libOSMesa.dylib -> libOSMesa.4.0.dylib
-rw-r--r--    1 root  wheel    36484 Mar 20 20:18 libSM.6.0.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libSM.6.dylib -> libSM.6.0.dylib
-rw-r--r--    1 root  wheel    46136 Mar 21  2005 libSM.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libSM.dylib -> libSM.6.0.dylib
-rw-r--r--    1 root  wheel   995036 Mar 20 20:18 libX11.6.2.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libX11.6.dylib -> libX11.6.2.dylib
-rw-r--r--    1 root  wheel  1581864 Mar 21  2005 libX11.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libX11.dylib -> libX11.6.2.dylib
-rw-r--r--    1 root  wheel     9644 Mar 20 20:18 libXRes.1.0.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXRes.1.dylib -> libXRes.1.0.dylib
-rw-r--r--    1 root  wheel     5088 Mar 21  2005 libXRes.a
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXRes.dylib -> libXRes.1.0.dylib
-rw-r--r--    1 root  wheel    32800 Mar 20 20:18 libXTrap.6.4.dylib
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libXTrap.6.dylib -> libXTrap.6.4.dylib
-rw-r--r--    1 root  wheel    39952 Mar 21  2005 libXTrap.a
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libXTrap.dylib -> libXTrap.6.4.dylib
-rw-r--r--    1 root  wheel    14016 Mar 21  2005 libXau.a
-rw-r--r--    1 root  wheel   276044 Mar 21  2005 libXaw.6.1.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXaw.6.dylib -> libXaw.6.1.dylib
-rw-r--r--    1 root  wheel   387020 Mar 21  2005 libXaw.7.0.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXaw.7.dylib -> libXaw.7.0.dylib
-rw-r--r--    1 root  wheel   617832 Mar 21  2005 libXaw.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXaw.dylib -> libXaw.7.0.dylib
-rw-r--r--    1 root  wheel    41884 Mar 20 20:18 libXcursor.1.0.dylib
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libXcursor.1.dylib -> libXcursor.1.0.dylib
-rw-r--r--    1 root  wheel    47280 Mar 21  2005 libXcursor.a
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libXcursor.dylib -> libXcursor.1.0.dylib
-rw-r--r--    1 root  wheel    33976 Mar 21  2005 libXdmcp.a
-rw-r--r--    1 root  wheel    66784 Mar 20 20:18 libXext.6.4.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXext.6.dylib -> libXext.6.4.dylib
-rw-r--r--    1 root  wheel    99576 Mar 21  2005 libXext.a
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXext.dylib -> libXext.6.4.dylib
-rw-r--r--    1 root  wheel   465776 Mar 20 20:18 libXfont.1.5.dylib
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libXfont.1.dylib -> libXfont.1.5.dylib
-rw-r--r--    1 root  wheel   758872 Mar 21  2005 libXfont.a
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libXfont.dylib -> libXfont.1.5.dylib
-rw-r--r--    1 root  wheel     9548 Mar 20 20:18 libXfontcache.1.2.dylib
lrwxr-xr-x    1 root  wheel       23 May  6  2005 libXfontcache.1.dylib -> libXfontcache.1.2.dylib
-rw-r--r--    1 root  wheel     4480 Mar 21  2005 libXfontcache.a
lrwxr-xr-x    1 root  wheel       23 May  6  2005 libXfontcache.dylib -> libXfontcache.1.2.dylib
-rw-r--r--    1 root  wheel    55520 Mar 20 20:18 libXft.1.1.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXft.1.dylib -> libXft.1.1.dylib
-rw-r--r--    1 root  wheel    72812 Mar 20 20:18 libXft.2.1.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXft.2.dylib -> libXft.2.1.dylib
-rw-r--r--    1 root  wheel   101912 Mar 21  2005 libXft.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXft.dylib -> libXft.2.1.dylib
-rw-r--r--    1 root  wheel    35952 Mar 20 20:18 libXi.6.0.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXi.6.dylib -> libXi.6.0.dylib
-rw-r--r--    1 root  wheel    74520 Mar 21  2005 libXi.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXi.dylib -> libXi.6.0.dylib
-rw-r--r--    1 root  wheel    14000 Mar 20 20:18 libXinerama.1.0.dylib
lrwxr-xr-x    1 root  wheel       21 May  6  2005 libXinerama.1.dylib -> libXinerama.1.0.dylib
-rw-r--r--    1 root  wheel     6128 Mar 21  2005 libXinerama.a
lrwxr-xr-x    1 root  wheel       21 May  6  2005 libXinerama.dylib -> libXinerama.1.0.dylib
-rw-r--r--    1 root  wheel    97928 Mar 20 20:18 libXmu.6.2.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXmu.6.dylib -> libXmu.6.2.dylib
-rw-r--r--    1 root  wheel   163848 Mar 21  2005 libXmu.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXmu.dylib -> libXmu.6.2.dylib
-rw-r--r--    1 root  wheel    14952 Mar 20 20:18 libXmuu.1.0.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXmuu.1.dylib -> libXmuu.1.0.dylib
-rw-r--r--    1 root  wheel    13216 Mar 21  2005 libXmuu.a
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXmuu.dylib -> libXmuu.1.0.dylib
-rw-r--r--    1 root  wheel    36616 Mar 20 20:18 libXp.6.2.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXp.6.dylib -> libXp.6.2.dylib
-rw-r--r--    1 root  wheel    53048 Mar 21  2005 libXp.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXp.dylib -> libXp.6.2.dylib
-rw-r--r--    1 root  wheel    65016 Mar 20 20:18 libXpm.4.11.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXpm.4.dylib -> libXpm.4.11.dylib
-rw-r--r--    1 root  wheel   106272 Mar 21  2005 libXpm.a
lrwxr-xr-x    1 root  wheel       17 Oct 31 22:39 libXpm.dylib -> libXpm.4.11.dylib
-rw-r--r--    1 root  wheel    14776 Mar 20 20:18 libXrandr.2.0.dylib
lrwxr-xr-x    1 root  wheel       19 May  6  2005 libXrandr.2.dylib -> libXrandr.2.0.dylib
-rw-r--r--    1 root  wheel     9992 Mar 21  2005 libXrandr.a
lrwxr-xr-x    1 root  wheel       19 May  6  2005 libXrandr.dylib -> libXrandr.2.0.dylib
-rw-r--r--    1 root  wheel    33876 Mar 20 20:18 libXrender.1.2.dylib
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libXrender.1.dylib -> libXrender.1.2.dylib
-rw-r--r--    1 root  wheel    45272 Mar 21  2005 libXrender.a
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libXrender.dylib -> libXrender.1.2.dylib
-rw-r--r--    1 root  wheel    14460 Mar 20 20:18 libXss.1.0.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXss.1.dylib -> libXss.1.0.dylib
-rw-r--r--    1 root  wheel     8008 Mar 21  2005 libXss.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libXss.dylib -> libXss.1.0.dylib
-rw-r--r--    1 root  wheel   354452 Mar 20 20:18 libXt.6.0.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXt.6.dylib -> libXt.6.0.dylib
-rw-r--r--    1 root  wheel   577336 Mar 21  2005 libXt.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXt.dylib -> libXt.6.0.dylib
-rw-r--r--    1 root  wheel    24616 Mar 20 20:18 libXtst.6.1.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXtst.6.dylib -> libXtst.6.1.dylib
-rw-r--r--    1 root  wheel    23472 Mar 21  2005 libXtst.a
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXtst.dylib -> libXtst.6.1.dylib
-rw-r--r--    1 root  wheel    19100 Mar 20 20:18 libXv.1.0.dylib
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXv.1.dylib -> libXv.1.0.dylib
-rw-r--r--    1 root  wheel    16440 Mar 21  2005 libXv.a
lrwxr-xr-x    1 root  wheel       15 May  6  2005 libXv.dylib -> libXv.1.0.dylib
-rw-r--r--    1 root  wheel    14172 Mar 20 20:18 libXvMC.1.0.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXvMC.1.dylib -> libXvMC.1.0.dylib
-rw-r--r--    1 root  wheel     8776 Mar 21  2005 libXvMC.a
lrwxr-xr-x    1 root  wheel       17 May  6  2005 libXvMC.dylib -> libXvMC.1.0.dylib
-rw-r--r--    1 root  wheel    14240 Mar 20 20:18 libXxf86misc.1.1.dylib
lrwxr-xr-x    1 root  wheel       22 May  6  2005 libXxf86misc.1.dylib -> libXxf86misc.1.1.dylib
-rw-r--r--    1 root  wheel     9568 Mar 21  2005 libXxf86misc.a
lrwxr-xr-x    1 root  wheel       22 May  6  2005 libXxf86misc.dylib -> libXxf86misc.1.1.dylib
-rw-r--r--    1 root  wheel    23004 Mar 20 20:18 libXxf86vm.1.0.dylib
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libXxf86vm.1.dylib -> libXxf86vm.1.0.dylib
-rw-r--r--    1 root  wheel    19024 Mar 21  2005 libXxf86vm.a
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libXxf86vm.dylib -> libXxf86vm.1.0.dylib
-rw-r--r--    1 root  wheel   315984 Mar 20 20:18 libdps.1.0.dylib
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libdps.1.dylib -> libdps.1.0.dylib
-rw-r--r--    1 root  wheel   497184 Mar 21  2005 libdps.a
lrwxr-xr-x    1 root  wheel       16 May  6  2005 libdps.dylib -> libdps.1.0.dylib
-rw-r--r--    1 root  wheel    33268 Mar 20 20:18 libdpstk.1.0.dylib
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libdpstk.1.dylib -> libdpstk.1.0.dylib
-rw-r--r--    1 root  wheel    40600 Mar 21  2005 libdpstk.a
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libdpstk.dylib -> libdpstk.1.0.dylib
-rw-r--r--    1 root  wheel   135856 Mar 20 20:18 libexpat.0.4.dylib
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libexpat.0.dylib -> libexpat.0.4.dylib
-rw-r--r--    1 root  wheel   214168 Mar 21  2005 libexpat.a
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libexpat.dylib -> libexpat.0.4.dylib
-rw-r--r--    1 root  wheel     8344 Mar 21  2005 libfntstubs.a
-rw-r--r--    1 root  wheel   165736 Mar 20 20:18 libfontconfig.1.0.dylib
lrwxr-xr-x    1 root  wheel       23 May  6  2005 libfontconfig.1.dylib -> libfontconfig.1.0.dylib
-rw-r--r--    1 root  wheel   244696 Mar 21  2005 libfontconfig.a
lrwxr-xr-x    1 root  wheel       23 May  6  2005 libfontconfig.dylib -> libfontconfig.1.0.dylib
-rw-r--r--    1 root  wheel    29320 Mar 20 20:18 libfontenc.1.0.dylib
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libfontenc.1.dylib -> libfontenc.1.0.dylib
-rw-r--r--    1 root  wheel    30128 Mar 21  2005 libfontenc.a
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libfontenc.dylib -> libfontenc.1.0.dylib
-rw-r--r--    1 root  wheel   348476 Mar 20 20:18 libfreetype.6.3.dylib
lrwxr-xr-x    1 root  wheel       21 May  6  2005 libfreetype.6.dylib -> libfreetype.6.3.dylib
-rw-r--r--    1 root  wheel   456000 Mar 21  2005 libfreetype.a
lrwxr-xr-x    1 root  wheel       21 May  6  2005 libfreetype.dylib -> libfreetype.6.3.dylib
-rw-r--r--    1 root  wheel    14104 Mar 20 20:18 liboldX.6.0.dylib
lrwxr-xr-x    1 root  wheel       17 May  6  2005 liboldX.6.dylib -> liboldX.6.0.dylib
-rw-r--r--    1 root  wheel     9728 Mar 21  2005 liboldX.a
lrwxr-xr-x    1 root  wheel       17 May  6  2005 liboldX.dylib -> liboldX.6.0.dylib
-rw-r--r--    1 root  wheel    24580 Mar 20 20:18 libpsres.1.0.dylib
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libpsres.1.dylib -> libpsres.1.0.dylib
-rw-r--r--    1 root  wheel    25368 Mar 21  2005 libpsres.a
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libpsres.dylib -> libpsres.1.0.dylib
-rw-r--r--    1 root  wheel   135216 Mar 20 20:18 libxkbfile.1.0.dylib
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libxkbfile.1.dylib -> libxkbfile.1.0.dylib
-rw-r--r--    1 root  wheel   208120 Mar 21  2005 libxkbfile.a
lrwxr-xr-x    1 root  wheel       20 May  6  2005 libxkbfile.dylib -> libxkbfile.1.0.dylib
-rw-r--r--    1 root  wheel    19032 Mar 20 20:18 libxkbui.1.0.dylib
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libxkbui.1.dylib -> libxkbui.1.0.dylib
-rw-r--r--    1 root  wheel    11888 Mar 21  2005 libxkbui.a
lrwxr-xr-x    1 root  wheel       18 May  6  2005 libxkbui.dylib -> libxkbui.1.0.dylib
drwxr-xr-x    5 root  wheel      170 Mar 28  2005 pkgconfig

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Sun Apr 23, 2006 7:57 am

Finally dragged out the install disk, and found the X11 optional install. Went ahead and installed it, and now the errors are gone and echo.mt actually returns results.

Weird that I already had a directory on my hard drive, with only .a files -- and that the X11 installer from the Apple site claimed I already had a newer version installed. Ah well, I can now continue to try and connect to the database ; I'll check back later if anything is amiss.

Thanks for the help!

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Mon Jun 12, 2006 8:03 pm

Just thought I'd add that this works on Intel Macs as well.
Same problem with libdl.1.dylib but I can connect to the MySQL database on localhost, so all in all not too much of a hassle.

I'd still like a new cgi-engine with installer though ;-)

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply

Return to “CGIs and the Server”