1. Sources for Mac OS X
- Posted by Tuishimi Jun 30, 2009
- 901 views
No doubt it is my own idiocy... but when I download the 4.0 sources for OS X I cannot expand them.
I tried renaming to just .tar (sometimes the .gz is extraneous for some reason)... that doesn't work either.
Is there a CVS or SVN repository I can connect to (read only) to get the sources?
I had implemented my website in Euphoria... moved back to OS X from Windows 7 and now want to build Euphoria to run it again.
Thanks!
2. Re: Sources for Mac OS X
- Posted by Tuishimi Jun 30, 2009
- 937 views
I did get the eu40-2180 binaries for building for mac os x... these aren't just "drop-ins" right? I still have to build euphoria from sources, yes?
3. Re: Sources for Mac OS X
- Posted by jeremy (admin) Jun 30, 2009
- 927 views
I did get the eu40-2180 binaries for building for mac os x... these aren't just "drop-ins" right? I still have to build euphoria from sources, yes?
No, you do not have to build from sources. You do have to have the sources, because the sources contain the necessary include files for Euphoria runtime (standard euphoria library).
Many times the web browser will see the .gz and save the file as a uncompressed file, i.e. file.tar.gz actually turns into file.tar ... To extract them, you should be able to simply do tar xzf file.tar.gz ... now, if that doesn't work (xzf means extract gz file) then try tar xf file.tar.gz (extract file).
If all of that fails, I am unsure of what's going on. You can get the sources via svn:
svn co -r 2180 http://rapideuphoria.svn.sourceforge.net/svnroot/rapideuphoria/trunk euphoria
Then put the binaries from eu40-2180 into the new euphoria/bin directory and you should be ready to go. The -r 2180 ensures that you get the sources that the eu40-2180 was built on, which in turn ensures you don't have a source incompatability.
Jeremy
5. Re: Sources for Mac OS X
- Posted by Tuishimi Jun 30, 2009
- 893 views
Hmmm. Can dynamic libraries in OS X be referenced like .so files in linux?
Trying to get eusqlite to work but it doesn't seem to like the dynamic libraries.
6. Re: Sources for Mac OS X
- Posted by bernie Jun 30, 2009
- 939 views
Hmmm. Can dynamic libraries in OS X be referenced like .so files in linux?
Trying to get eusqlite to work but it doesn't seem to like the dynamic libraries.
It would help if you gave the euforum users more details or error messages.
7. Re: Sources for Mac OS X
- Posted by Tuishimi Jun 30, 2009
- 977 views
Turns out I needed to provide the FULL path to the library, had assumed like linux or BSD, OS X might maintain references via LDCONFIG...
8. Re: Sources for Mac OS X
- Posted by jeremy (admin) Jun 30, 2009
- 973 views
It should read files from the standard paths, if it's located in a standard path. However, on OS X, the shared library file extension is .dylib, not .dll or .so. Version 4's version of open_dll allows you to do this to help deal with these issues:
constant hDll = open_dll({ "sqlite3.dll", "sqlite3.so", "sqlite3.dylib" })
You can list as many possible file names as possible. The first one to load correctly is used and the handle of that file is returned.
Jeremy