|
From: R. B. <ro...@pa...> - 2005-03-03 08:06:41
|
Alexander Mayer reports a problem the debugger scripts
got installed in the wrong place.
Before the last change in CVS (so I guess this is true in the last
release) running ./configure with the appropriate --datadir (.e.g
/usr/local/lib) would probably work.
However I've just made a change in CVS so that Makefile picks up what
it discovers to be the natural place via looking at the bash code.
I'd like to set the default to the name that's been coded inside of
the bash program rather than some autoconf standard, since that is
what's used. But I don't know how to change the autoconf.
At this point in my life fed up with all the time I've spent coercing
automake and autoconf to what seems to me simple things. If someone
else want's to delve into the manure to suggest how to fix,
great. Otherwise we'll leave it as is. Basically setting datadir in
configure no longer works (in CVS) and pkgdatadir can only be set
implicitly via:
--with-bash location of bash 3.0 program
--with-bashb-main location of bashdb-main.inc
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> the bashdb installation is not working properly on my osx/darwin 7.8.0
> and linux: a 'make install' results in an error, because the bashdb
> scripts were not installed into /usr/local/lib/bashdb. In fact they are
> in /usr/local/share/bashdb. An excerpt from Makefile:
>
> install-data-hook:
> if test -e /usr/local/lib/bashdb/bashdb-main.inc ; then $(RM)
> /usr/local/lib/bashdb/bashdb-main.inc ; fi
> $(LN_S) $(PKGDATADIR)/dbg-main.inc
> /usr/local/lib/bashdb/bashdb-main.inc
>
> Running bash --debugger doesn't work because of the same problem. If I
> create a symlink from /usr/local/lib/bashdb to /usr/local/share/bashdb
> (and if I create the symlink bashdb-main.inc manually), everything
> work's fine.
>
> The configure script of bash-3.0 sets
>
> DEBUGGER_START_FILE=${ac_default_prefix}/lib/bashdb/bashdb-main.inc
>
> But the bashdb uses PREFIX/share/bashdb. I am confused, what's the
> right path?
>
> I am using bashdb-3.00-0.01 and bash-3.0.
>
> Thanks,
> Alexander
> - -----
> My GPG public key:
> http://www.weihenstephan.org/~mayerale/pgp/AlexanderMayer.gpg.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFCJeVZBF+abY4YMw8RAn9rAJ9wSIHwt9z1aLWQtohQ2o0Bvv0YTQCdE6tO
> DEt4nXjaUGbAP7Jqxbj0OnY=
> =RRH2
> -----END PGP SIGNATURE-----
|