looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Edwin Eyan Moragas
On Thu, Aug 12, 2010 at 2:31 PM, Alexander Burger  wrote:
> Hi Edwin,
>
>> thank your for the instructions. the bootstrap was successful. i have
>
> Great!
>
>
>> moving forward, i'm playing with some flags to diagnose the problem.
>> the obsd guys game some hints that i can work with.
>
> Thanks. I'd really be interested to know what goes wrong.

i got the thing behaving correctly by tweaking the Makefile:

ifeq ($(shell uname), OpenBSD)
OS = OpenBSD
PICOLISP-FLAGS = -m32 -rdynamic -Wl,-E
LIB-FLAGS = -lc -lm
DYNAMIC-LIB-FLAGS = -Wl,-E -Wl,-shared
STRIP = strip
else

>
> Cheers,
> - Alex
> --
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
>
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Edwin Eyan Moragas
Hi Alex,

possible additions to the Makefile (INSTALL instructions sensitive) :

 # Clean up
 clean:
rm -f *.o
+   rm -f ../lib/ht
+   rm -f ../lib/ext


On Thu, Aug 12, 2010 at 3:21 PM, Edwin Eyan Moragas  wrote:
> On Thu, Aug 12, 2010 at 2:31 PM, Alexander Burger  w=
rote:
>> Hi Edwin,
>>
>>> thank your for the instructions. the bootstrap was successful. i have
>>
>> Great!
>>
>>
>>> moving forward, i'm playing with some flags to diagnose the problem.
>>> the obsd guys game some hints that i can work with.
>>
>> Thanks. I'd really be interested to know what goes wrong.
>
> i got the thing behaving correctly by tweaking the Makefile:
>
> ifeq ($(shell uname), OpenBSD)
> =A0 =A0 =A0 =A0OS =3D OpenBSD
> =A0 =A0 =A0 =A0PICOLISP-FLAGS =3D -m32 -rdynamic -Wl,-E
> =A0 =A0 =A0 =A0LIB-FLAGS =3D -lc -lm
> =A0 =A0 =A0 =A0DYNAMIC-LIB-FLAGS =3D -Wl,-E -Wl,-shared
> =A0 =A0 =A0 =A0STRIP =3D strip
> else
>
>>
>> Cheers,
>> - Alex
>> --
>> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe
>>
>
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Alexander Burger
Hi Edwin,

> i got the thing behaving correctly by tweaking the Makefile:
> 
> ifeq ($(shell uname), OpenBSD)
> OS = OpenBSD
> PICOLISP-FLAGS = -m32 -rdynamic -Wl,-E
> LIB-FLAGS = -lc -lm
> DYNAMIC-LIB-FLAGS = -Wl,-E -Wl,-shared
> STRIP = strip

Wow, great!

BTW, I was wrong when I said that we used OpenBSD for a previous
customer. Instead, it was FreeBSD! Now the situation makes sense, it
might well be that the OpenBSD build was never really tested.

So there is no risk if I incorporate your changes into the Makefile.
Many thanks!

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Alexander Burger
Hi Edwin,

> possible additions to the Makefile (INSTALL instructions sensitive) :
> 
>  # Clean up
>  clean:
> rm -f *.o
> +   rm -f ../lib/ht
> +   rm -f ../lib/ext

That's right. It is not absolutely necessary, though, as just removing
'*.o' will trigger a complete rebuild anyway. If we include the
libraries, then we should also include all other targets, which would
make things harder to maintain and keep in sync.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Edwin Eyan Moragas
On Thu, Aug 12, 2010 at 3:56 PM, Alexander Burger  wro=
te:
> Hi Edwin,
>
>> possible additions to the Makefile (INSTALL instructions sensitive) :
>>
>> =A0# Clean up
>> =A0clean:
>> =A0 =A0 =A0 =A0 rm -f *.o
>> + =A0 =A0 =A0 rm -f ../lib/ht
>> + =A0 =A0 =A0 rm -f ../lib/ext
>
> That's right. It is not absolutely necessary, though, as just removing
> '*.o' will trigger a complete rebuild anyway. If we include the
> libraries, then we should also include all other targets, which would
> make things harder to maintain and keep in sync.

copy that.

>
> Cheers,
> - Alex
> --
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe
>
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe