Douglas Held wrote:
> I'd like to create a script that builds and installs only 'su' from
> the latest binutils.
>
> I'm working on Solaris x86 10. When I specify
> ./configure --enable-install-program=su
> --enable-no-install-program=base64,basename,cat...
...
I ran precisely that command, and then "make", and it worked for me:
it did create su, as well as src/ginstall in the build directory.
I didn't run "make install" because I don't want to install
into the default prefix of /usr/local.
However, I confirmed that "sudo make install prefix=$PWD/inst" did
install su into $PWD/inst/bin.
Maybe you ran "make install" as non-root?
In that case, you should see this:
WARNING: insufficient access; not installing su
NOTE: to install su, run 'make install-root' as root
> ...the 'make install' step reports an error as ./src/ginstall does not exist
If you still have a problem,
please provide more detail, like copy/pasted make output,
including the actual commands you ran.
> So, I changed my configuration to:
> ./configure --program-prefix=fortify --prefix=/opt/fortify/tomcat
> --enable-ginstall --enable-install-program=su
> --enable-no-install-program=base64,basename,cat,...
>
> and it still doesn't work.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils