Building rsync on Solaris 9

This is a discussion on Building rsync on Solaris 9 within the Rsync forums, part of the Networking and Network Related category; Hello, I am trying to build rsync on a machine running Solaris 9. After running ./configure, I changed the Makefile ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2003
maldrich
 
Posts: n/a
Default Building rsync on Solaris 9

Hello,
I am trying to build rsync on a machine running Solaris 9. After
running ./configure, I changed the Makefile to read:

CFLAGS=-xarch=v9 -g -DHAVE_CONFIG_H -I./popt

Now when I try and compile, I get:

ild: (bad file) Input file /usr/lib/libsocket.a contains 32-bit
relocatable, but producing a 64-bit file.
*** Error code 1
make: Fatal error: Command failed for target `rsync'

I am pretty sure this is a Solaris thing and not rsync. I've searched
the groups and web for this information...
Any suggestions would be greatly appreciated.

Thanks,
Mike
Reply With Quote
  #2 (permalink)  
Old 12-03-2003
maldrich
 
Posts: n/a
Default Re: Building rsync on Solaris 9

maldrich12@hotmail.com (maldrich) wrote in message news:<cb71bb60.0312011151.3b1b64b6@posting.google. com>...
> Hello,
> I am trying to build rsync on a machine running Solaris 9. After
> running ./configure, I changed the Makefile to read:
>
> CFLAGS=-xarch=v9 -g -DHAVE_CONFIG_H -I./popt
>
> Now when I try and compile, I get:
>
> ild: (bad file) Input file /usr/lib/libsocket.a contains 32-bit
> relocatable, but producing a 64-bit file.
> *** Error code 1
> make: Fatal error: Command failed for target `rsync'
>
> I am pretty sure this is a Solaris thing and not rsync. I've searched
> the groups and web for this information...
> Any suggestions would be greatly appreciated.
>
> Thanks,
> Mike



I successfully compiled this using:
CFLAGS=-HAVE_OFFSET64_T -g -DHAVE_CONFIG_H -I./popt
in my Makefile.

Now, I am having a problem running rsync from a Solaris box to another
Solaris box (both Solaris v9). Both systems are running the same rsync
version (2.5.6).
Oddly enough, when I run the command:
rsync --stats --rsh=/usr/bin/rsh
/tempspace/restore/arch.J0964.20031021.14:37:49
server2:/tempspace/restore/

I get:
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown":
Broken pipe
rsync error: error in rsync protocol data stream (code 12) at
io.c(515)

Running the exact command, but to a different machine running RedHat
7.3, the file is written as expected. The file is about 10G in size.
Has anyone seen this Solaris problem?
Thanks,
Michael
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:53 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0