perfsonar-dev - Re: perfSONAR RPMs from all services - problem?
Subject: perfsonar development work
List archive
- From: Guilherme Fernandes <>
- To: Maciej Glowiak <>
- Cc: "" <>,
- Subject: Re: perfSONAR RPMs from all services - problem?
- Date: Wed, 16 Apr 2008 14:07:20 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=xf1iNyqdGKdhTXuouIblAErJddj4rkUEGdr4gII4Etd+p54SHVQugfNtxuFhqtUVA6yOS3W95Q5K8Rku47KoU18vNi0etufUMQKjsJyQQ5Cgtsp02GE3QsDpKCzLrN6y9wC3StRuVTuEMITaD32EGv9k4ns8VIJL9X8C3QRkP/c=
Maciej Glowiak wrote:
Hi Guilherme,Hi Maciej,
Dependencies for RPM's must follow <name> <mod> <version>, and sepparated by commas. So in your case it would be "perfsonar-tomcat >= 6.0.16, perfsonar-exist >= 1.1.1", but you could use just "perfsonar-tomcat, perfsonar-exist".
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]:Could you please check what are the values in /home/perfsonar/.rpmmacros?
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?
Can you connect to skype so we can solve this faster?
Best regards,
Guilherme
Best regards
Maciej
- 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.