What I did:
sudo port install boehmgc
sudo port install apache2
sudo port install mysql4
sudo port install pcre

edit neko's Makefile:
add CFLAGS += -I /opt/local/include (as line 42)
modify line 46 : LIBNEKO_LIBS = -L/opt/local/lib -ldl -lgc -lm - dynamiclib -single_module ${LIBNEKO_INSTALL}

Modify src/tools/install.neko:
lines 86+ change /usr/local to /opt/local
lines 103+ /opt/local/lib

it should work

Alex
Le 10 juin 06 à 16:50, hank williams a écrit :

well the first time I got pages of errors, but I am sure I didnt do it
right. I just ran the make file at the root of the CVS directory. I
dont even know what you mean by configure, make, make, check, and make
install. (I told you I am a unix/make ninny!)

anyway I did get darwinports to do the build. Of course that doesnt
bridge the gap in my need to really develop an understanding of the
make tools, but at least I have it compiled for now.

Regarding modifying the neko make file I am going to take a look and
see if I can figure out exactly where to put the mods.

Hank

On 6/10/06, Alex Drahon <[EMAIL PROTECTED]> wrote:
Well, if you use Darwinports, you'll have to modify neko's Makefile
for inclusion of /opt/local/include and /opt/local/lib

I have successfully built Boehm GC 6.7 with configure, make, make
check and make install, what error did you get?

Alex

Le 10 juin 06 à 16:27, hank williams a écrit :

> On 6/10/06, Alex Drahon <[EMAIL PROTECTED]> wrote:
>> Darwinports is a source based package management system for Darwin/OS
>> X.  It makes your life easier by managing to compile boehmg, for
>> instance ;-) It makes your life harder by installing everything in /
>> opt/local, something neko doesn't like.
>>
>
> Will I need to do anything to deal with the opt/local stuff? I am
> guessing I probably am going to need to move something somewhere once
> I successfully compile the GC.
>
> Hank
>
>
>> > You also must edit the makefile and
>> >> uncomment MACOSX = 1.
>> >>
>> >
>> > That part I figured out. :)
>>
>> Hmmm, you had strange error messages that made me think you hadn't...
>>
>> So, next step for you is building boehmgc.  I'm downloading the
>> source to see if I have any problem building it myself.
>>
>> Alex
>>
>> Le 10 juin 06 à 15:52, hank williams a écrit :
>>
>> > On 6/10/06, Alex Drahon <[EMAIL PROTECTED]> wrote:
>> >> You need to read the link supplied by Nicolas... You can also
>> give us
>> >> a little more information on what you're doing. Do you have
>> >> Darwinports installed?
>> >
>> > No, what is darwinports. I have gone to their site and the
>> description
>> > is "it will help make things easier with open source projects".
>> But I
>> > have no idea if this will help with *my* stuff. Do you need
>> > darwinports for neko? I would hate to spend the time trying to
>> compile
>> > yet another thing that will be unhelpful in doing what I really
>> need
>> > to do.
>> >
>> > Do you have a strong reason not to use the OS
>> >> X binaries?
>> >
>> > Yes. I am ultimately going to port neko to an embedded
>> environment. I
>> > need  to get comfortable compiling it. It was 50/50 between
>> doing it
>> > on the pc with cygwin and the mac but, I decided since I already
>> have
>> > a mac setup and am comfortable in eclipse to try there first.
>> > Ulitmately this will all need to run under embedded linux.
>> >
>> >
>> >> It's not that hard to build from source on OS X but you must have
>> >> boehmgc installed and it's better to have the other
>> dependencies too
>> >> (apache, pcre, zlib...).
>> >
>> > I dont really need apache, and probably most of the other stuff
>> since
>> > I will be running on a fairly naked device. All the I/O will be
>> custom
>> > C stuff.
>> >
>> > You also must edit the makefile and
>> >> uncomment MACOSX = 1.
>> >>
>> >
>> > That part I figured out. :)
>> >
>> > Hank
>> >
>> > --
>> > 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)


--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to