It's the "clean" that seems to be causing the trouble, and it shouldn't
be needed. Change the SPEC file in /usr/src/{whatever}/SPECS to remove
that in the "build" section, and try a manual rebuild ("rpmbuild -bb
lin_tape.spec").
My copy of 1.15 doesn't have that, and builds correctly. Haven't tried
1.16 yet.
And you're right, the documentation is terrible.
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Lee, Gary D.
Sent: Monday, October 20, 2008 2:19 PM
To: [email protected]
Subject: [LINUX-390] Lin_tape build question
Ok, went and downloaded lin_tape for SLES9 on s390x.
However cannot get it to build
Linux version from the boot messages is
Linux version 2.6.5-7.314-s390x ([EMAIL PROTECTED]) (gcc version 3.3.3
(SuSE Linux)) #1 SMP Mon Sep 15 16:43:00 UTC 2008
Below is a portion of the output from the rpmrebuild command listed in
the readme.install.
-------------------------
+ '[' s390x == i586 ']'
+ '[' s390x == i686 ']'
+ '[' s390x == ppc64 ']'
+ '[' s390x == powerpc ']'
+ '[' s390x == s390 ']'
+ '[' s390x == s390x ']'
+ proc=zSeries
+ '[' s390x == ia64 ']'
+ '[' s390x == x86_64 ']'
+ cp -af lin_tape_359X_zSeries.ReadMe lin_tape_359X.ReadMe
+ cp -af lin_tape_Ultrium_zSeries.ReadMe lin_tape_Ultrium.ReadMe
+ make KERNEL=2.6.5-7.314-s390x PROC=s390x driver
make -C /lib/modules/2.6.5-7.314-s390x/build
SUBDIRS=/usr/src/packages/BUILD/lin
_tape-1.16.0 PWD=/usr/src/packages/BUILD/lin_tape-1.16.0 clean
make[1]: Entering directory `/usr/src/linux-2.6.5-7.314-obj/s390/s390x'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.314-obj/s390/s390x'
make: *** [clean] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.27660 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.27660 (%build)
-------------------------
Where do I go from here? IBM Tape Device drivers installation and
user's guide seems to be of little help.
Thanks in Advance.
Gary Lee
Senior System Programmer
Ball State University
phone: 765-285-1310
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or
proprietary, and if you are not an intended recipient, please notify the
sender, do not use or share it and delete it. Unless specifically indicated,
this message is not an offer to sell or a solicitation of any investment
products or other financial product or service, an official confirmation of any
transaction, or an official statement of Merrill Lynch. Subject to applicable
law, Merrill Lynch may monitor, review and retain e-communications (EC)
traveling through its networks/systems. The laws of the country of each
sender/recipient may impact the handling of EC, and EC may be archived,
supervised and produced in countries other than the country in which you are
located. This message cannot be guaranteed to be secure or error-free. This
message is subject to terms available at the following link:
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you
consent to the foregoing.
--------------------------------------------------------
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390