The module stuff is broken at install time if ${prefix} is different
from ${exec_prefix}.
For example, I see in GNUmakefile:
datadir=${prefix}/lib
moduledir=${datadir}/${instvardir}/${configuration}/modules
which must be wrong, since moduledir is system-dependent, and
${prefix} is system-independent.
Presumably ${sitelispdir} is system-independent and ${sitemoduledir}
is system-dependent, so how come they are installed next to each
other?
sitelispdir=${datadir}/${inststaticdir}/site-lisp
sitemoduledir=${datadir}/${inststaticdir}/site-modules
When I do `make install', I get:
/usr/bin/install -c src/xemacs /home/martin/x/inst/linux-libc2/bin/xemacs-21.2-b19
chmod 0755 /home/martin/x/inst/linux-libc2/bin/xemacs-21.2-b19
cd /home/martin/x/inst/linux-libc2/bin && rm -f ./xemacs && ln -s
xemacs-21.2-b19 ./xemacs
if test "/home/martin/x/inst" != "/home/martin/x/inst/linux-libc2";
then \
for dir in \
lib/xemacs \
lib/xemacs-21.2-b19/etc \
lib/xemacs-21.2-b19/info \
lib/xemacs-21.2-b19/lisp; do \
if test ! -d /home/martin/x/inst/linux-libc2/${dir}; then \
ln -s /home/martin/x/inst/${dir} /home/martin/x/inst/linux-libc2/${dir}; fi; \
done; \
fi
ln: cannot create symbolic link
`/home/martin/x/inst/linux-libc2/lib/xemacs-21.2-b19/etc' to
`/home/martin/x/inst/lib/xemacs-21.2-b19/etc': No such file or directory
ln: cannot create symbolic link
`/home/martin/x/inst/linux-libc2/lib/xemacs-21.2-b19/info' to
`/home/martin/x/inst/lib/xemacs-21.2-b19/info': No such file or directory
ln: cannot create symbolic link
`/home/martin/x/inst/linux-libc2/lib/xemacs-21.2-b19/lisp' to
`/home/martin/x/inst/lib/xemacs-21.2-b19/lisp': No such file or directory
make: *** [install-arch-dep] Error 1
I suggest whoever made these changes originally try to debug this by
doing something like
../src/configure --prefix=/dir1 --exec-prefix=/dir2; make; make install
Let me know if I have to fix this myself.
I repeat: I cannot install xemacs (although, it is true, running in
place works fine). This must be fixed immediately.
Martin
Show replies by date