Hmm - I didn't do any of that. I simply installed the Xbuild and
figured I'd have a go with as few modifications and additions as
possible, and it works well *so far*.
However, harbour built very well, though without X11 as I'm building
console-based only

On 20 April 2010 19:58, Jasim A Basheer <jasim...@gmail.com> wrote:
> Sorry, 'slang' was missing. Built smoothly after installing slang.
>
> On Tue, Apr 20, 2010 at 11:13 PM, Jasim A Basheer <jasim...@gmail.com>wrote:
>
>> Does Harbour build with Leopard ? I tried building Harbour on my Leopard,
>> however:
>>
>> make[3]: `../../../../../lib/darwin/gcc/libhbextern.a' is up to date.
>> make[3]: `../../../../../lib/darwin/gcc/libhbdebug.a' is up to date.
>> libtool  -dynamic -flat_namespace -undefined warning -multiply_defined
>> suppress -single_module -L../../../../../lib/darwin/gcc -L/usr/X11R6/lib
>> -install_name "libharbour.dylib" -compatibility_version 2.0 -current_version
>> 2.0.0  -o ../../../../../lib/darwin/gcc/libharbour.2.0.0.dylib
>> ../../../../../src/common/obj/darwin/gcc/expropt1.o
>> ../../../../../src/common/obj/darwin/gcc/expropt2.o ../../../../* <snip
>> snip - a long list of object files>
>> *libtool: can't locate file for: -lpcre
>> libtool: file: -lpcre is not an object file (not allowed in a library)
>> make[3]: *** [libharbour.2.0.0.dylib] Error 1
>>
>> I've done a 'port install pcre'. But no avail.
>>
>> My gcc is :
>>  i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
>> libtool:
>>  Apple Computer, Inc. version cctools-667.3
>>
>> Thanks!
>>
>>
>> On Tue, Apr 20, 2010 at 10:35 PM, Halim Issa <yalla...@gmail.com> wrote:
>>
>>> On 20 April 2010 18:01,  <harbour-users-requ...@harbour-project.org>
>>> wrote:
>>> > Hello Halim,
>>> >
>>> > On Apr 20, 2010, at 7:23 AM, Halim Issa wrote:
>>> >
>>> >> Hello,
>>> >>
>>> >> I'm completely new to Harbour after having used Clipper 5.0 under DOS
>>> >> for quite a few years. Having downloaded and installed Harbour version
>>> >> 2.0.0 on OSX without any problems (ie error messages), I've run into
>>> >> trouble compiling the test program:
>>> >>
>>> >> prompt>hbmk2 hello
>>> >> hbmk2: Processing configuration: /usr/local/bin/hbmk.cfg
>>> >> Harbour 2.0.0 (Rev. 13372)
>>> >> Copyright (c) 1999-2010, http://www.harbour-project.org/
>>> >> Compiling 'hello.prg'...
>>> >> Lines 11, Functions/Procedures 1
>>> >> Generating C source output to 'hello.c'... Done.
>>> >> ld: library not found for -lharbour
>>> >> hbmk2: Error: Running linker. 1
>>> >> clang hello.o   -lhbcplr -lhbdebug -lharbour  -o hello
>>> -L/usr/local/lib/harbour
>>> >> prompt>
>>> >
>>> > This is because hbmk2 tries to link with shared libraries and this are
>>> > not found.
>>> >
>>> > You can bypass this by linking with static libs:
>>> >
>>> > $ hbmk2 -static hello
>>> >
>>> >
>>> > Or, you can provide the missing shared lib with:
>>> >
>>> > $ sudo ln -s /usr/local/lib/harbour/libharbour.2.1.0.dylib
>>> /usr/local/lib/harbour/libharbour.dylib
>>> > $ export DYLD_LIBRARY_PATH=/usr/local/lib/harbour
>>> >
>>> > the above will create a symbolic link to the shared harbour lib
>>> > and set the DYLD_LIBRARY_PATH to point were it is.
>>> >
>>> > then you will have working right the following:
>>> >
>>> > $ hbmk2 hello
>>> > $ ./hello
>>> >
>>> > [snip]
>>>
>>>
>>> Works like a charm - thank you much for quick and to-the-point answer!
>>> Much appreciated!
>>>
>>> Good to be back on Clipper again, never thought my old 16bit DOS
>>> programs would emerge as 64bit OSX applications :-)
>>> _______________________________________________
>>> Harbour-users mailing list (attachment size limit: 40KB)
>>> Harbour-users@harbour-project.org
>>> http://lists.harbour-project.org/mailman/listinfo/harbour-users
>>>
>>
>>
> _______________________________________________
> Harbour-users mailing list (attachment size limit: 40KB)
> Harbour-users@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour-users
>
_______________________________________________
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users

Reply via email to