I'd like to enable the --prefix option on configure so that a user can
install the PPC ITrace package where he/she chooses. We can have it so
that by default everything gets installed into the package directory (as
happens now), but if the user runs (for example):
then the binaries would go into /usr/local/bin and the shared libs into
/usr/local/lib. This is a pretty standard option.
One problem arises with the scripts that are already in the bin
directory. In order for scripts to get installed, you have to designate
them as scripts using an automake variable. However, if you designate
the scripts in the package bin directory to get installed into the same
package bin directory (as they would by default), make gets confused and
fails in the "make install" step.
So, do you think it might be possible to move the scripts from the bin
directory to a new directory (perhaps call it "scripts")? If so, the
attached patch would get us the rest of the way there.
I'm not familiar with all of the files that are currently in the package
bin directory, but I can see that some of the ones that I'm not using in
the PPC ITrace package are not appropriate for installing in a place
like /usr/bin or /usr/local/bin. In order to preserve the way things
currently work, I've assumed that they all got moved to the new scripts
directory, and I've designated all of them as scripts in the attached
So probably a little bit more work is needed if we want "./configure
--prefix=" to take sensible action for the base Performance Inspector
package. But making this change as a first step should preserve the
behavior of tinstall and would allow the PPC ITrace package users to use
the --prefix option on configure.
One other note - if some of the files in the package bin directory get
used during build/tinstall, this patch and/or the build spec/script
files may need slight modification.
Get latest updates about Open Source Projects, Conferences and News.