Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] RPM creation - errors

Subject: perfsonar development work

List archive

Re: [pS-dev] RPM creation - errors


Chronological Thread 
  • From: Cándido Rodríguez Montes <>
  • To: Maciej Glowiak <>
  • Cc: Perfsonar Development <>
  • Subject: Re: [pS-dev] RPM creation - errors
  • Date: Thu, 31 Jan 2008 14:55:52 +0100

Hi Maciej,
I got the AS rpm this week using rpm_maker.pl and it works at the first time. I ran in a RHAS 4 update 5 with the rpm-build-4.3.3-23_nonptl package. Sorry, but I don't have any idea how to solve your problem.

Regards 

El 31/01/2008, a las 14:17, Maciej Glowiak escribió:

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

-- 

 --------------------------------------------------------------------
| Maciej Glowiak        Network Research and Development            ||
|     Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024          -- skype_id: maciej_psnc   GG: 4526858 ||
 ====================================================================




--
Cándido Rodríguez Montes E-mail: 
Middleware warrior Tel:+34 955 05 66 13
Red.ES/RedIRIS
Edificio CICA
Avenida Reina Mercedes, s/n
41012 Sevilla
SPAIN







Archive powered by MHonArc 2.6.16.

Top of Page