[pubcookie-users] installing pubcookie Mac 10.6 Snow Leopard

James Hughes jehughes at uw.edu
Thu Aug 11 10:54:21 PDT 2011


Total stab in the dark here, but maybe this is an llvm-gcc issue? Some
recent OS X update switched the default compiler to llvm-gcc. Starting from
a fresh pubcookie source tree, what happens if you set GCC explicitly as the
compiler?


> export CC=gcc-4.2

> ./configure

> make



On Thu, Aug 11, 2011 at 9:11 AM, Gordon Belray <gordon.belray at utoronto.ca>wrote:


> Hey,

>

> still no luck building and installing on 10.6

>

> I've tried commenting out DES encryption, which then leads to

> an ERR_error_string error, which I changed to ERR_error_string_n with an

> additional argument, which throws a new error:

>

> src/security_legacy.c: In function 'libpbc_rd_safe':

> src/security_legacy.c:1204: error: invalid use of void expression

>

> So, I'm wondering if you had to do anything special for building and

> installing on 10.6. I'm using pubcookie-3.3.4a on 10.6.8. I've had no

> problems building on 10.5. Can anyone send me their src for a successful

> build?

>

> Thanks for the help.

>

> Gordon

>

>

> On 10-Aug-11, at 1:50 PM, James Hughes wrote:

>

> I've built pubcookie for 2 OS X 10.6 machines recently and I didn't pass

> any arguments to configure. Just use the basic ./configure all by itself.

>

> On Wed, Aug 10, 2011 at 10:41 AM, Ryan Schmidt <

> pubcookie-2011b at ryandesign.com> wrote:

>

>> On Aug 10, 2011, at 12:02, Gordon Belray wrote:

>>

>> > We're unable to build pubcookie on a Mac server 10.6

>> >

>> > Configuring fails using the following:

>> >

>> > ./configure CFLAGS='-arch ppc -arch ppc64 -arch i386 -arch x86_64'

>>

>> ...

>>

>> > configure:1790: checking for C compiler default output

>> > configure:1793: gcc -arch ppc -arch ppc64 -arch i386 -arch x86_6

>> conftest.c >&5

>> > ld: warning: in /usr/lib/crt1.10.5.o, missing required architecture

>> ppc64 in file

>> > ld: warning: in /usr/lib/libSystemStubs.a, missing required architecture

>> ppc64 in file

>> > ld: warning: in /usr/lib/libSystem.dylib, missing required architecture

>> ppc64 in file

>> > ld: could not find entry point "start" (perhaps missing crt1.o) for

>> architecture ppc64

>>

>> You cannot build ppc64 on Snow Leopard because Snow Leopard doesn't

>> contain ppc64 system libraries.

>>

>> If you're building this to run it only on this Intel Mac, there's no

>> reason to build it for any PowerPC architectures. Just build for the Intel

>> architectures.

>>

>>

>>

>> _______________________________________________

>> pubcookie-users mailing list

>> pubcookie-users at u.washington.edu

>> http://mailman2.u.washington.edu/mailman/listinfo/pubcookie-users

>>

>

>

> Gordon Belray

> Systems and Interface Designer

> Information Technology Services

> University of Toronto Libraries

> gordon.belray at utoronto.ca

> 416-946-8617 w

> 416-427-7007 m

>

>

>

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman2.u.washington.edu/pipermail/pubcookie-users/attachments/20110811/92150b6e/attachment.htm


More information about the pubcookie-users mailing list