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: Maciej Glowiak <>
  • To: Guilherme Fernandes <>
  • Cc: Perfsonar Development <>
  • Subject: Re: [pS-dev] RPM creation - errors
  • Date: Thu, 31 Jan 2008 16:39:59 +0100

Hi Guilherme

My directory tree of /home/perfsonar is:

/home/perfsonar
|
|-- XML-LS
|-- ant
|-- build
|-- conf
|-- contrib
|-- doc
|-- lib
|-- release
|-- samples
|-- src
`-- webapps
`-- XML-LS-1.2
|-- WEB-INF
`-- wsdd


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)

Do you have the webapps directory with a XML-LS-1.2 directory inside (containing a default installation of the service)?
2. What else do I need? (sources? why the /usr/src/rpm/SOURCES/XML-LS-1.2.tar.gz is missing?)

The above directory should have been suficient. It's strange that it's looking in /usr/src if you're running it from /home/perfsonar. The scripts does a chdir("rpm") before proceeding to the next steps, maybe this is changing to /usr/src/rpm somehow? Maybe you could give me limited access to the machine you're trying to install so I can check it?

Yes, I'll do it tomorrow.

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?

About the directory, it was decided that everything will be installed in the /home/perfsonar directory so that we don't have ask the users anything. The building process reflects basically the same things that will be done in the installation process, that's why you need to create the RPMs from that directory.

OK, it'd be more flexible to have the directory prefix in a variable or constant anyway.

I don't think it's possible to build rpms using non-root users, but I'm not sure. If it's possible, I don't see any problems with it.

I was wondering, because during the previous release it was very important for Release Team to use making release / configuration process as non-root user.

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