maincfgstoragemaker - Support: sr #100497, Installation Problems (Solaris8)


sr #100497: Installation Problems (Solaris8)

Submitter:  Invalid User ID <#5698>
Submitted:  Fri 01 Mar 2002 03:02:27 AM UTC
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 01 Mar 2002 03:02:27 AM UTC, original submission:  

The installation process fails on Solaris 8 as the
install program is the braindaed SysV version. AutoConf
& Friends based tools (see ) normally don't
hard code these program names and options into
Makefiles (well actually

The variables you need to look at are INSTALL,
INSTALL_PROGRAM and INSTALL_DATA from memory. Also the
use of owner and group options to install is not
standard practice, as it stops unpriviledged users from
running clean "make install"'s.

Given the relative simplicity of the requirements of
the Make side of your project, you might find that a
couple of lines of AutoMake would remove all
cross-platform portability issues.

- Intrducing GNU AutoMake for more details.

At a minmum you should consider changing the Makefile
to the following:


$(mandir)/cfgstoragemaker.1: cfgstoragemaker.1
        $(INSTALL_DATA) $< $@

$(bindir)/cfgstoragemaker: cfgstoragemaker
        $(INSTALL_PROGRAM) $< $@

$(sharedir)/body.tpl: templates/body.tpl
        $(INSTALL_DATA) $< $@

$(sharedir)/header.tpl: templates/header.tpl
        $(INSTALL_DATA) $< $@

Additionally, the main program (the perl script) should
be renamed and the location of perl
(#!/usr/bin/perl) and the template directory ($tpl_dir)
should be substituted in as part of the make process.
Similarly command line options to configure to generate
valid local template values for

WorkDir: /var/www/mrtg/storage
IconDir: /mrtg/
LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt

would be advisable.

Also Mention in the doco that program relies on
"snmpwalk" from the ucd-snmp distribution.


Invalid User ID <#5698>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.12