perfsonar-dev - perfSONAR RPMs from all services - problem?
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To: Guilherme Fernandes <>
- Cc: Guilherme Fernandes <>, "" <>,
- Subject: perfSONAR RPMs from all services - problem?
- Date: Wed, 16 Apr 2008 13:39:50 +0200
Hi Guilherme,
I've got a problem with new script. I was trying to make RPM.
My environment is:
===========================================================================
perfsonar@reed:/opt/perfsonar$
pwd
/opt/perfsonar
perfsonar@reed:/opt/perfsonar$
whoami
perfsonar
perfsonar@reed:/opt/perfsonar$
grep perfsonar /etc/passwd
perfsonar:x:1002:1002:perfsonar,,,,:/home/perfsonar:/bin/bash
===========================================================================
I run the script:
===========================================================================
perfsonar@reed:/opt/perfsonar$
perl package_maker.pl
-- perfSONAR web services package maker --
Enter service name [XML-LS]:
Enter service version [1.2]:
Enter service dependencies [perfsonar-tomcat-6.0.16 perfsonar-exist-1.1.1]:
Enter the architecture for this package [noarch]:
Enter service maintainer (e.g. Me <>) [Maciej Glowiak <>]:
Enter service summary [Lookup Service for perfSONAR (GEANT2)]:
Last entered service description:
Use that one (y/n) [n]?y
Last entered message to user after installation:
Use that one (y/n) [n]?y
Which type of package would you like to create:
1. rpm
2. deb
Please choose a number: 1
błąd: Plik /home/perfsonar/rpm/SOURCES/xml-ls-1.2.tar.gz: No such file or directory
===========================================================================
Last line means: "Error: File /home/perfsonar/rpm/SOURCES/
xml-ls-1.2.tar.gz: No such file or directory"
"rpmbuild" directory was created:
===========================================================================
perfsonar@reed:/opt/perfsonar$
ls
package_maker.pl perfsonar-exist-1.1.1-1.noarch.rpm perfsonar-tomcat-6.0.16-3.i386.rpm rpmbuild webapps
===========================================================================
but no RPM was created:
===========================================================================
perfsonar@reed:/opt/perfsonar$
ls rpmbuild/RPMS/
perfsonar@reed:/opt/perfsonar$
===========================================================================
My home directory is still /home/perfsonar and is empty:
===========================================================================
perfsonar@reed:/opt/perfsonar$
ls /home/perfsonar
perfsonar@reed:/opt/perfsonar$
===========================================================================
After changing home directory to /opt/perfsonar:
===========================================================================
perfsonar@reed:/opt/perfsonar$
grep perfsonar /etc/passwd
perfsonar:x:1002:1002:perfsonar,,,,:/opt/perfsonar:/bin/bash
===========================================================================
(what I guess shouldn't be done) I get the same error
===========================================================================
błąd: Plik /home/perfsonar/rpm/SOURCES/xml-ls-1.2.tar.gz: No such file or directory
===========================================================================
I thing there is an error in the script (wrong directory). Could you fix it - or I do something wrong?
Best regards
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================
- perfSONAR RPMs from all services, Loukik Kudarimoti, 04/14/2008
- Re: [pS-dev] perfSONAR RPMs from all services, Guilherme Fernandes, 04/16/2008
- perfSONAR RPMs from all services - problem?, Maciej Glowiak, 04/16/2008
- Re: perfSONAR RPMs from all services - problem?, Guilherme Fernandes, 04/16/2008
- Re: [pS-dev] Re: perfSONAR RPMs from all services - problem?, Maciej Glowiak, 04/16/2008
- Re: perfSONAR RPMs from all services - problem?, Guilherme Fernandes, 04/16/2008
- perfSONAR RPMs from all services - problem?, Maciej Glowiak, 04/16/2008
- Re: [pS-dev] perfSONAR RPMs from all services, Guilherme Fernandes, 04/16/2008
Archive powered by MHonArc 2.6.16.