I'm trying to make an RPM on RedHat. Specifically for the client.
It spends a bunch of time building, then comes up with this:
Installation complete.
You must configure your webserver for the Xymon webpages and CGI-scripts. A sample Apache configuration is in /usr/lib64/xymon/server/etc/xymon-apache.conf If you have your Administration CGI scripts in a separate directory, then you must also setup the password-file with the htpasswd command.
To start Xymon, as the xymon user run '/usr/lib64/xymon/server/bin/xymon.sh start' To view the Xymon webpages, go to http://stnxymdev/xymon
- mkdir -p /tmp/xymon-root/etc/init.d
- cp /home/ptroot/localRPMS/SOURCES/xymon-init.d /tmp/xymon-root/etc/init.d/xymon
- cp /home/ptroot/localRPMS/SOURCES/xymon-client.init /tmp/xymon-root/etc/init.d/xymon-client
- mkdir -p /tmp/xymon-root/etc/logrotate.d
- cp /home/ptroot/localRPMS/SOURCES/xymon.logrotate /tmp/xymon-root/etc/logrotate.d/xymon
- mkdir -p /tmp/xymon-root/etc/default
- cp /home/ptroot/localRPMS/SOURCES/xymon-client.default /tmp/xymon-root/etc/default/xymon-client
- mkdir -p /tmp/xymon-root/usr/bin
- cd /tmp/xymon-root/usr/bin
- ln -sf ../lib/xymon/server/bin/xymon ../lib/xymon/server/bin/xymoncmd .
- mkdir -p /tmp/xymon-root/etc/httpd/conf.d
- mv /tmp/xymon-root/etc/xymon/xymon-apache.conf /tmp/xymon-root/etc/httpd/conf.d/ mv: cannot stat `/tmp/xymon-root/etc/xymon/xymon-apache.conf': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.66715 (%install)
So I went back and reconfigured for the server, and put the config in place. But it comes back the same.
Any ideas what's going on here?
Thanks, Paul.
I'm trying to make an RPM on RedHat. Specifically for the client.
It spends a bunch of time building, then comes up with this:
Installation complete.
You must configure your webserver for the Xymon webpages and CGI-scripts. A sample Apache configuration is in /usr/lib64/xymon/server/etc/xymon-apache.conf If you have your Administration CGI scripts in a separate directory, then you must also setup the password-file with the htpasswd command.
To start Xymon, as the xymon user run '/usr/lib64/xymon/server/bin/xymon.sh start' To view the Xymon webpages, go to http://stnxymdev/xymon
- mkdir -p /tmp/xymon-root/etc/init.d
- cp /home/ptroot/localRPMS/SOURCES/xymon-init.d /tmp/xymon-root/etc/init.d/xymon
- cp /home/ptroot/localRPMS/SOURCES/xymon-client.init /tmp/xymon-root/etc/init.d/xymon-client
- mkdir -p /tmp/xymon-root/etc/logrotate.d
- cp /home/ptroot/localRPMS/SOURCES/xymon.logrotate /tmp/xymon-root/etc/logrotate.d/xymon
- mkdir -p /tmp/xymon-root/etc/default
- cp /home/ptroot/localRPMS/SOURCES/xymon-client.default /tmp/xymon-root/etc/default/xymon-client
- mkdir -p /tmp/xymon-root/usr/bin
- cd /tmp/xymon-root/usr/bin
- ln -sf ../lib/xymon/server/bin/xymon ../lib/xymon/server/bin/xymoncmd .
- mkdir -p /tmp/xymon-root/etc/httpd/conf.d
- mv /tmp/xymon-root/etc/xymon/xymon-apache.conf /tmp/xymon-root/etc/httpd/conf.d/ mv: cannot stat `/tmp/xymon-root/etc/xymon/xymon-apache.conf': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.66715 (%install)
So I went back and reconfigured for the server, and put the config in place. But it comes back the same.
Any ideas what's going on here?
Thanks, Paul.
Seems like the ./configure.client didn't get passed on properly. Is this the .spec included in the tarball or custom-written?
After setting options (via environment or whatnot) all you should need is:
./configure.client
make PKGBUILD=1 client
Regards,
-jc
participants (2)
-
cleaver@terabithia.org
-
Paul.Root@CenturyLink.com