473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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
9 4163
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
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
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

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

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
> 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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: hpy_awad | last post by:
I wrote that example from a book and there is en error in the display module that it does not showing all the records are entered in the input module. I traced with some printf statments without...
28
by: Gaby | last post by:
Hi guys, I have this ASP code that is a little long to post so but you can download it off of http://whatthedeuce.net/Form.asp I cant find out what my error is. I know it is not in my Access...
4
by: scottcly | last post by:
I have a simple editor with a Gridview and a DetailsView. The Gridview handles DELETE and the DetailsView handles UPDATE and ADD. A panel around each one and some minor event handling is used to...
19
by: zzw8206262001 | last post by:
Hi,I find a way to make javescript more like c++ or pyhon There is the sample code: function Father(self) //every contructor may have "self" argument { self=self?self:this; ...
2
by: darthghandi | last post by:
I am trying to pass a socket object when an event is signaled. I have successfully bound to a network interface and listened on a port for incoming connection. I have also been able to accept...
0
by: quitebizarre | last post by:
Having got past the 'PCC-F-NOERRFILE, unable to open error message file, facility PR2' by given 'other' read access to all the files under ${ORACLE_HOME}/precomp, I'm now stuck with this not very...
0
by: nomad | last post by:
Hi, When trying to add a data row to a data table I get a "System.ArgumentException: This row already belongs to another table." error. I have tried using ImportRow instead but with no joy. If...
3
by: charmeda103 | last post by:
I keep getting errors and i looked relooked I cant seem to see what wrong. from my code can see u where the errors are coming from. here are the error messages: 1.warning C4101: 'size' :...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.