perfsonar-dev - Re: [pS-dev] RPM creation - errors
Subject: perfsonar development work
List archive
- From: Frederic LOUI <>
- To: Maciej Glowiak <>
- Cc: Perfsonar Development <>
- Subject: Re: [pS-dev] RPM creation - errors
- Date: Thu, 31 Jan 2008 15:05:48 +0100
- Organization: GIP RENATER
Hi Maciej,
I see you run the script as mac unix user. Maybe you should run the script as perfsonar user ?
In addition the error says:
error: File /usr/src/rpm/SOURCES/XML-LS-1.2.tar.gz: No such file or directory
Seems that this file does not exist or you don't have the right to access it...
Anyway, seems to be a UNIX user access rights issue.
Hope this help.
Cheers/Frederic
Maciej Glowiak a écrit :
Hi,
I am getting errors trying to run rpm_maker.pl script. I've read the guide document, but it doesn't help. Maybe I missed another document?
Running the script for the first time (having default properties already set up) I get:
====================================================================
mac@reed:/home/perfsonar$
perl rpm_maker.pl
-- perfSONAR web services RPM maker --
Enter service summary [XML Lookup Service]:
Enter service name [XML-LS]:
Enter service version [1.2]:
Enter service dependencies [perfsonar-tomcat >= 6.0.7 , perfsonar-exist >= 1.1.1]:
Enter service description [perfSONAR XML Lookup Service]:
Last entered message to user after installation:
Use that one (y/n) [n]?y
XML-LS-1.2/
error: File /usr/src/rpm/SOURCES/XML-LS-1.2.tar.gz: No such file or directory
====================================================================
Running it for the second time:
====================================================================
mac@reed:/home/perfsonar$
perl rpm_maker.pl
-- perfSONAR web services RPM maker --
Enter service summary [XML Lookup Service]:
Enter service name [XML-LS]:
Enter service version [1.2]:
Enter service dependencies [perfsonar-tomcat >= 6.0.7 , perfsonar-exist >= 1.1.1]:
Enter service description [perfSONAR XML Lookup Service]:
Last entered message to user after installation:
Use that one (y/n) [n]?y
mkdir: cannot create directory `rpm/BUILD': File exists
mkdir: cannot create directory `rpm/RPMS': File exists
mkdir: cannot create directory `rpm/SOURCES': File exists
mkdir: cannot create directory `rpm/SPECS': File exists
mkdir: cannot create directory `rpm/SRPMS': File exists
mkdir: cannot create directory `XML-LS-1.2': File exists
There was a problem creating the source file directory (which will have the webapps directory inside it).
Try doing it manually (mkdir XML-LS-1.2) and check what's wrong.
====================================================================
So, some questions:
1. What should I do before running rpm_maker.pl? Let's suppose I created /home/perfsonar and have got compiled and configured service (for instance: /home/mac/projects/perfsonar/trunk/geant2_java-xml-ls)
2. What else do I need? (sources? why the /usr/src/rpm/SOURCES/XML-LS-1.2.tar.gz is missing?)
3. Now, there is a requirement to have the /home/perfsonar directory in order to create RPM. What if I want to create RPM as non-root user using my own directory? Couldn't it be configurable?
Best regards
Maciej
--
Frederic LOUI / GIP RENATER
Service de Suivi Operationnel / Metrologie & QoS
Network Operations Service / Metrology & QoS
Tel: +33 1 53 94 20 82 / Fax: +33 1 53 94 20 31
http://www.renater.fr
- RPM creation - errors, Maciej Glowiak, 01/31/2008
- Re: [pS-dev] RPM creation - errors, Cándido Rodríguez Montes, 01/31/2008
- Re: [pS-dev] RPM creation - errors, Frederic LOUI, 01/31/2008
- Re: [pS-dev] RPM creation - errors, Guilherme Fernandes, 01/31/2008
- Re: [pS-dev] RPM creation - errors, Frederic LOUI, 01/31/2008
- Re: [pS-dev] RPM creation - errors, Maciej Glowiak, 01/31/2008
- Re: [pS-dev] RPM creation - errors, Frederic LOUI, 01/31/2008
Archive powered by MHonArc 2.6.16.