Andy
I have uploaded a new neko build here
http://haxe3.org/downloads/nightly/neko/neko.zip
Let me know if it works, install normal haxe neko to setup paths
delete content of neko and replace with files, it's not a proper
release build there is probably another step for that.
Best Justin
On 19 Dec 2012, at 03:43, [email protected] wrote:
Andy
libz.a is here?
http://code.google.com/p/sdl-static/source/browse/#svn%2Ftrunk%2Flib%2FMac%253Fstate%253Dclosed
check the sdl-static folder and the haxe/libs/ folders..
I think Neko compiles for Apache 2 and 1.3 if it can't find it will
ask, but you prob don't need 1.3 unless it's related to new mysql
dependancy?
For Apache2 you need mod_tora2 or mod_neko2 so if you don't have 1.3
it will probably not make the mod_neko or mod_tora versions.
Carbon? No idea
If a lib *.dylib or *.a etc... is not picked up look for it in
your system and just dump a copy in usr/lib/ folder... ok not the
proper way but should work :) alternatively you can try to change
your paths but that can be flaky to get right?
I use gcc 4.6 or 4.7 and normally prefer macport builds of code over
pre-installed apple libs, I think you are better off not depending
on what apple does too much, for example on NME you probably have to
edit the xcode SDK path in some of the build files as every mac os
seems to name them differently and put them in a different place.
It maybe good to form a support group for haxe mac users maybe on
googleplus within the new haxe community group?
I am sure you know a lot more on this stuff than me, I tend to use
terminal more often but still far from a power user.
I can try creating a new neko build on my system but not sure I have
any Apache setup, as my mamp seems to be corrupted I really would
like to use something different from Apache it seems such a messy
thing, I found other info on github but don't know how to use it.
Best Justin
On 18 Dec 2012, at 17:55, Andy Li wrote:
Hi Justin,
Thanks for the quick and detailed reply!
I had used macports for sometime and moved to homebrew, which is
known as the more "modern" version of macports/darwinports. It
takes much less time on installing packages and easier to manage.
Actually I want to know if there is any specific version or
procedure on installing the dependencies of compiling Neko.
It is because it looks a bit weird to me that:
Apache 1.3.x is pretty old and Mac has been bundling Apache 2
LibZ is also been bundled by Mac, but only with .dylib, not
"libz.a" required by the makefile
Carbon should be also bundled by Mac though I'm not sure for this one
And I've just tried, the remaining dependencies were successfully
installed with homebrew, picked up by the makefile.
brew install mysql
brew install pcre
So, the question now is, can neko use the Mac bundled version of
LibZ, Carbon and Apache 1.3.x, instead of using different ones?
Best regards,
Andy
On Tue, Dec 18, 2012 at 7:20 PM, [email protected] <[email protected]
> wrote:
Andy
I suggest you install macports if you don't already have it.
http://www.macports.org/install.php
Once your all setup with it ( you may need to selfupdate etc... -
force if needed etc.. )
from terminal you can check packages available, occasionally they
are not yet in general release so you can also google macport and
the library name, and then download the macport installer directly,
I have just done some searches and they all seem to come back with
packages you can install.
sudo port search LibZ
sudo port search Carbon
sudo port search mysql
sudo port search apache
sudo port search pcre
I would like haxe to be a macport but documentation on ports is
quite technical so I have not tried making one.
you can install a package with sudo port install .... you may
find some of these in a single package.
If you have specific issues with installing there is a macport IRC
on freenode that is usually very helpful but as always you have to
be around awhile to catch the eye of the advanced users, it is
fairly advanced so try to read a bit before you start asking
questions so as not to annoy them.
I think some of the database stuff you can safely ignore especially
for just using NME, i think sometimes it wants to install old and
new versions, but if you just want latest Neko for haxe then not
normally important? Sorry rather vague on this. I can have a go
at a Neko version on my leopard that will probably work will on
lion if you get stuck. Always backup your current version.
Best
Justin
On 18 Dec 2012, at 09:10, Andy Li wrote:
Hi,
I'm trying to compile Neko r1926 on Mac OSX 10.7.5, using `make
os=osx`.
The core part compiles fine, but it prompted for finding
dependency of external libraries, i.e. LibZ, Apache 1.3.x, Carbon,
PCRE, MySQL.
Where should I get those? Is it just downloading and installing
all of them one by one and then recompile?
FYI, my complete terminal log is over here.
Best regards,
Andy
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)