Re: Building Rotor on Panther

Pat Allan <[email protected]> Sat, 6 Mar 2004 10:58:51 +1100
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <[email protected]>
Ah, yes, librotor_palrt.dylib doesn't exist.
librotor_pal.dylib does, tho.

Previous entry in the log file:
ld -o /Users/pat/sscli/clr/bin/ppc/fastchecked/librotor_palrt.dylib 
-arch ppc -dynamic -multiply_defined suppress        /usr/lib/dylib1.o  
  -dylib   -lrotor_pal  objdf/ppc/rotor_palrt.res objdf/ppc/bignum.obj 
objdf/ppc/bstr.obj objdf/ppc/cocreate.obj objdf/ppc/coguid.obj 
objdf/ppc/convert.obj objdf/ppc/crtstuff.obj objdf/ppc/decarith.obj 
objdf/ppc/decimal.obj objdf/ppc/dllmain.obj objdf/ppc/errinfo.obj 
objdf/ppc/guid.obj objdf/ppc/crypt.obj objdf/ppc/inifile.obj 
objdf/ppc/loadstring.obj objdf/ppc/md5.obj objdf/ppc/memorystream.obj 
objdf/ppc/numprs.obj objdf/ppc/palconfig.obj objdf/ppc/path.obj 
objdf/ppc/sarray.obj objdf/ppc/sha1.obj objdf/ppc/shstr.obj 
objdf/ppc/strings.obj objdf/ppc/urlpars.obj objdf/ppc/variant.obj  
/usr/lib/libcc_dynamic.a /usr/lib/libstdc++.a -dylib_install_name 
/Users/pat/sscli/build/v1.ppcfstchk.rotor/librotor_palrt.dylib
ld: can't locate file for: -lrotor_pal

all the files are there except for the last one 
(/Users/pat/sscli/build/v1.ppcfstchk.rotor/librotor_palrt.dylib), which 
was the value for the -dylib_install_name flag.

 From `man ld`
-dylib_install_name name
               For dynamic shared library files, specifies the name of 
the file
               the library will be installed in for programs that use  
it.   If
               this  is not specified, the name specified in the -o name 
option
               will  be  used.   This  option  is  used   as   the   
libtool(1)
               -install_name name option when its -dynamic option is 
specified.

since the -o exists, do we need this? I have very little idea of what 
ld does (ie. the first paragraph or so of the man file)

On 06/03/2004, at 5:56 AM, Nigel Perry wrote:

> At 12:00 am -0500 5/3/04, Automatic digest processor wrote:
>> Date:    Fri, 5 Mar 2004 10:16:37 +1100
>> From:    Pat Allan <[email protected]>
>> Subject: Building Rotor on Panther
>>
>> I'm trying to compile Rotor on my iBook running Panther 10.3.2, with
>> the patch from mondrian-script.org. I find it gets a lot further when 
>> i
>> use sudo, but I still hit this error:
>>
>> BINPLACE : warning BNP0000:
>> CopyFile(/Users/pat/sscli/clr/bin/ppc/fastchecked/
>> librotor_palrt.dylib,/Users/pat/sscli/build/
>> v1.ppcfstchk.rotor\.\librotor_palrt.dylib) failed 2
>>
>> BINPLACE : fatal error BNP0000: Unable to place file
>> /Users/pat/sscli/clr/bin/ppc/fastchecked/librotor_palrt.dylib -
>> exiting.
>>
>> looking at the path that its trying to copy to, there's a few \'s - 
>> are
>> they supposed to be in there? Any other ways of figuring out why it
>> isn't working?
>
> They \'s are normal. I've seen errors like this when the file that is
> being copied doesn't actually exist but the build has missed that
> fact. Try working backwards to see if the file was successfully
> created.
>
> Hope that helps and please let us know - the patch works fine for us
> on a number of machines and we're about to release Gyro X (Rotor Gyro
> for MacOS X) and if there is a problem would like to fix it!
>
> Cheers,
>               Nigel
>
> ===================================
> This list is hosted by DevelopMentorĀ®  http://www.develop.com
> NEW! ASP.NET courses you may be interested in:
>
> 2 Days of ASP.NET, 29 Sept 2003, in Redmond
> http://www.develop.com/courses/2daspdotnet
>
> Guerrilla ASP.NET, 13 Oct 2003, in Boston
> http://www.develop.com/courses/gaspdotnet
>
> View archives and manage your subscription(s) at 
> http://discuss.develop.com
>


home: 9419 2002 || mobile: 0413 273 337 || work: 9923 7344
home: [email protected] || work: [email protected]
The Australian Discworld Convention : 
http://www.addictedtodiscworld.com/auscon
===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com
ASP.NET courses you may be interested in:

Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in Torrance, CA
7 June 2004, London, UK

http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com