help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] problem building sources for insall in $HOME


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] problem building sources for insall in $HOME as non-root user
Date: Fri, 21 Nov 2008 22:19:28 +0100
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

Britton Kerin wrote:
I do ./configure --prefix=$HOME/local as I always do and it works
until make install but then:

BUBBA$ make install
Making install in gl
make[1]: Entering directory `/home/bkerin/tmp/source-highlight-2.9/gl'
make  install-am
make[2]: Entering directory `/home/bkerin/tmp/source-highlight-2.9/gl'
make[3]: Entering directory `/home/bkerin/tmp/source-highlight-2.9/gl'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/bkerin/tmp/source-highlight-2.9/gl'
make[2]: Leaving directory `/home/bkerin/tmp/source-highlight-2.9/gl'
make[1]: Leaving directory `/home/bkerin/tmp/source-highlight-2.9/gl'
Making install in src
make[1]: Entering directory `/home/bkerin/tmp/source-highlight-2.9/src'
Making install in lib
make[2]: Entering directory
`/home/bkerin/tmp/source-highlight-2.9/src/lib'
make  install-am
make[3]: Entering directory
`/home/bkerin/tmp/source-highlight-2.9/src/lib'
/bin/sh ../../txtc.sh -c copyright.text
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../src -I../../gl -I../../gl   -g -O2 -MT copyright.lo -MD
-MP -MF .deps/copyright.Tpo -c -o copyright.lo copyright.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl -I../../gl -g
-O2 -MT copyright.lo -MD -MP -MF .deps/copyright.Tpo -c copyright.c -fPIC -DPIC -o .libs/copyright.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl -I../../gl -g
 -O2 -MT copyright.lo -MD -MP -MF .deps/copyright.Tpo -c copyright.c -o
 copyright.o >/dev/null 2>&1
mv -f .deps/copyright.Tpo .deps/copyright.Plo
/bin/sh ../../txtc.sh -c reportbugs.text
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../src -I../../gl -I../../gl   -g -O2 -MT reportbugs.lo -MD
-MP -MF .deps/reportbugs.Tpo -c -o reportbugs.lo reportbugs.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl -I../../gl -g
-O2 -MT reportbugs.lo -MD -MP -MF .deps/reportbugs.Tpo -c reportbugs.c -fPIC -DPIC -o .libs/reportbugs.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl -I../../gl -g
 -O2 -MT reportbugs.lo -MD -MP -MF .deps/reportbugs.Tpo -c reportbugs.c
 -o reportbugs.o >/dev/null 2>&1
mv -f .deps/reportbugs.Tpo .deps/reportbugs.Plo
touch /usr/include/boost/regex.hpp
touch: cannot touch `/usr/include/boost/regex.hpp': Permission denied
make[3]: *** [/usr/include/boost/regex.hpp] Error 1
make[3]: Leaving directory
`/home/bkerin/tmp/source-highlight-2.9/src/lib'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/home/bkerin/tmp/source-highlight-2.9/src/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bkerin/tmp/source-highlight-2.9/src'
make: *** [install-recursive] Error 1

Looks like it would all work fineas non-root if it didn't try touch.

Britton

Hi there

oops... I think I know what's going on: it is probably due to a rule I added in the Makefile specific for .hpp files that are generated using doublecpp (http://doublecpp.sourceforge.net) and those rules, if that tool is not found, simply touches the corresponding file...
I hadn't considered that also boost header files use .hpp!
Of course I have that tool on my computer (and I install it myself on my home), and so I never experienced this problem myself...
let me fix it, and hopefully I can release a fixed version.

thanks for the feedback
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]