Skip to Content.
Sympa Menu

perfsonar-dev - RPM creation - errors

Subject: perfsonar development work

List archive

RPM creation - errors


Chronological Thread 
  • From: Maciej Glowiak <>
  • To: Perfsonar Development <>
  • Subject: RPM creation - errors
  • Date: Thu, 31 Jan 2008 14:17:39 +0100

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 ||
====================================================================





Archive powered by MHonArc 2.6.16.

Top of Page