By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,852 Members | 2,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,852 IT Pros & Developers. It's quick & easy.

make error Mac OS X (ar: illegal option -- s)

P: n/a
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any
ideas ?
----------------------------------------------------------
ar: illegal option -- s
usage: ar -d [-TLv] archive file ...
ar -m [-TLv] archive file ...
ar -m [-abiTLv] position archive file ...
ar -p [-TLv] archive [file ...]
ar -q [-cTLv] archive file ...
ar -r [-cuTLv] archive file ...
ar -r [-abciuTLv] position archive file ...
ar -t [-TLv] archive [file ...]
ar -x [-ouTLv] archive [file ...]
make[2]: *** [libpgport.a] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

----------------------------------------------------------
A search on Google resulted in these related links :

http://www.scipy.net/pipermail/scipy...ay/001000.html

http://www.geocrawler.com/archives/3...8/200/9392778/

http://nntp.x.perl.org/group/perl.perl6.internals/12072

I *think* it means Mac OS X reuiqre ranlib instead of ar.

- Joel

__________________________________________________ ___________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Joel Rodrigues <jo***********@ifrance.com> writes:
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any
ideas ?


Try setting AROPT = cr (not crs) in Makefile.darwin.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #2

P: n/a
Thanks Tom. That got rid of the 'ar' error, but here's the new one that
subsequently occurs :

-----------------------------
/var/tmp/ccECcaaa.s:2139:Parameter error: r0 not allowed for parameter 2
(code as 0 not r0)
make[4]: *** [xlog.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
-----------------------------

I found this, which may be relevant:

http://www.simdtech.org/apps/group_p.../msg00663.html

I don't have much of a clue with regard to C programming.

Cheers,
Joel
On Friday, December 12, 2003, at 03:21 , Tom Lane wrote:
Joel Rodrigues <jo***********@ifrance.com> writes:
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any
ideas ?


Try setting AROPT = cr (not crs) in Makefile.darwin.

regards, tom lane


__________________________________________________ ___________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #3

P: n/a
Hi,

In light of no responses to the make error question -

Has anyone succeeded in installing PostgreSQL 7.4 on Mac OS X
(10.1/10.2/10.3) ?

Until now PostgreSQL was always just a ./configure, make, make install
away.

- Joel

On Friday, December 12, 2003, at 10:02 , Joel Rodrigues wrote:
Thanks Tom. That got rid of the 'ar' error, but here's the new one that
subsequently occurs :

-----------------------------
/var/tmp/ccECcaaa.s:2139:Parameter error: r0 not allowed for parameter
2 (code as 0 not r0)
make[4]: *** [xlog.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
-----------------------------

I found this, which may be relevant:

http://www.simdtech.org/apps/group_p.../msg00663.html

I don't have much of a clue with regard to C programming.

Cheers,
Joel
On Friday, December 12, 2003, at 03:21 , Tom Lane wrote:
Joel Rodrigues <jo***********@ifrance.com> writes:
Hi, I get the following error when I run make on Mac OS X v 10.1.5
Any
ideas ?


Try setting AROPT = cr (not crs) in Makefile.darwin.

regards, tom lane


__________________________________________________ ___________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #4

P: n/a

On 10.3, yes. Works fine. No problems building. I think I had the
release candidates running on 10.2, but I can't
remember exactly when I upgraded postgres and OS X.

On Dec 13, 2003, at 12:28 PM, Joel Rodrigues wrote:
Hi,

In light of no responses to the make error question -

Has anyone succeeded in installing PostgreSQL 7.4 on Mac OS X
(10.1/10.2/10.3) ?

Until now PostgreSQL was always just a ./configure, make, make install
away.

- Joel

On Friday, December 12, 2003, at 10:02 , Joel Rodrigues wrote:
Thanks Tom. That got rid of the 'ar' error, but here's the new one
that subsequently occurs :

-----------------------------
/var/tmp/ccECcaaa.s:2139:Parameter error: r0 not allowed for
parameter 2 (code as 0 not r0)
make[4]: *** [xlog.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
-----------------------------

I found this, which may be relevant:

http://www.simdtech.org/apps/group_p.../msg00663.html

I don't have much of a clue with regard to C programming.

Cheers,
Joel
On Friday, December 12, 2003, at 03:21 , Tom Lane wrote:
Joel Rodrigues <jo***********@ifrance.com> writes:
Hi, I get the following error when I run make on Mac OS X v 10.1.5
Any
ideas ?

Try setting AROPT = cr (not crs) in Makefile.darwin.

regards, tom lane


__________________________________________________ ___________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de
France
---------------------------(end of
broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to
ma*******@postgresql.org

--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #5

P: n/a

On Sunday, December 14, 2003, at 07:08 AM, Andrew Rawnsley wrote:

On 10.3, yes. Works fine. No problems building. I think I had the
release candidates running on 10.2, but I can't
remember exactly when I upgraded postgres and OS X.

On Dec 13, 2003, at 12:28 PM, Joel Rodrigues wrote:
Has anyone succeeded in installing PostgreSQL 7.4 on Mac OS X
(10.1/10.2/10.3) ?

Until now PostgreSQL was always just a ./configure, make, make
install away.


I also have 7.4 running on 10.3 and didn't have any trouble installing
it.

Michael Glaesemann
grzm myrealbox com
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #6

P: n/a
> I also have 7.4 running on 10.3 and didn't have any trouble installing it.

Same here. I built and installed REL7_4_STABLE from CVS without any problem
on 10.3. Maybe the problem starts with a later release?

-mc

--
Mike Coleman <mc@fivebats.com>
Five Bats Incorporated, Portland Oregon

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #7

P: n/a
Thank you Andrew, Mike, & Michael. This may be a Mac OS X v10.1 issue.
The link I mentioned showing a similar error :
http://www.simdtech.org/apps/group_p.../msg00663.html
seems to indicate it is something to do with gcc.

Cheers,
Joel

On Sunday, December 14, 2003, at 03:38 , Andrew Rawnsley wrote:

On 10.3, yes. Works fine. No problems building. I think I had the
release candidates running on 10.2, but I can't
remember exactly when I upgraded postgres and OS X. --------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
I also have 7.4 running on 10.3 and didn't have any trouble installing
it.

Michael Glaesemann
grzm myrealbox com Same here. I built and installed REL7_4_STABLE from CVS without any
problem
on 10.3. Maybe the problem starts with a later release?

-mc

--
Mike Coleman <mc@fivebats.com>
Five Bats Incorporated, Portland Oregon


__________________________________________________ ___________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #8

P: n/a
Joel Rodrigues <jo***********@ifrance.com> writes:
This may be a Mac OS X v10.1 issue.
I believe so. I have tested 7.4 on 10.2.6 and a 10.3 beta release
without problems.

The message
/var/tmp/ccECcaaa.s:2139:Parameter error: r0 not allowed for parameter
2 (code as 0 not r0)


looks like a compiler bug (viz, gcc generating wrong assembly code)
and there's not likely to be much enthusiasm for finding a workaround
on our end, when 10.1 is pretty obsolete anyway.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #9

P: n/a
Oh well, I'll soon be on OS X 10.3 (Panther) , so I'll just leave it
alone for now and get on with development using 7.3.3. I was holding out
for updates to the iBooks, and now that the G4 iBooks are here I'm
aiming for the 12" any time now.

I guess it will also be a little while before PostgreSQL 7.4.x is widely
available at web hosting companies.

Cheers,
Joel

On Monday, December 15, 2003, at 04:56 , Tom Lane wrote:
Joel Rodrigues <jo***********@ifrance.com> writes:
This may be a Mac OS X v10.1 issue.


I believe so. I have tested 7.4 on 10.2.6 and a 10.3 beta release
without problems.

The message
/var/tmp/ccECcaaa.s:2139:Parameter error: r0 not allowed for parameter
2 (code as 0 not r0)


looks like a compiler bug (viz, gcc generating wrong assembly code)
and there's not likely to be much enthusiasm for finding a workaround
on our end, when 10.1 is pretty obsolete anyway.

regards, tom lane


__________________________________________________ ___________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.