problem building sources for insall in $HOME as non-root user

View: New views
6 Messages — Rating Filter:   Alert me  

problem building sources for insall in $HOME as non-root user

by bkerin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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




_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Re: problem building sources for insall in $HOME as non-root user

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Re: problem building sources for insall in $HOME as non-root user

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

could you please try this (hopefully) fixed version?

http://gdn.dsi.unifi.it/~bettini/source-highlight-2.11.1.tar.gz

if this works I'll release it officially

hope to hear from you soon
cheers
        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


_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Re: problem building sources for insall in $HOME as non-root user

by bkerin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Install as ordinary user seems to work fine now thanks.

One little thing that I think is a doc issue: it seems that when
--gen-references=inline is given, but there end up being multiple
tags, then the inline style is not used but instead the tags are
listed under the reference.  This makes sense but it should probably
be mentioned in the docs about --gen-references.

If you would enjoy seeing source-highlight helping with a sort of
runtime case grapher/source browser thing that I wrote to help get a
handle
on our operational system, take a look at this:

http://brittonkerin.com/src_browser/trace_out/source_browser.html

Britton

On Sat, 22 Nov 2008 21:11:25 +0100, "Lorenzo Bettini"
<bettini@...> said:

> Britton Kerin wrote:
> > I do ./configure --prefix=$HOME/local as I always do and it works
> > until make install but then:
> >
>
> could you please try this (hopefully) fixed version?
>
> http://gdn.dsi.unifi.it/~bettini/source-highlight-2.11.1.tar.gz
>
> if this works I'll release it officially
>
> hope to hear from you soon
> cheers
> 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
>
>
> _______________________________________________
> Help-source-highlight mailing list
> Help-source-highlight@...
> http://lists.gnu.org/mailman/listinfo/help-source-highlight




_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Re: problem building sources for insall in $HOME as non-root user

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Britton Kerin wrote:
> Install as ordinary user seems to work fine now thanks.

great!
I'll release 2.11.1 soon (at the moment I'm working on providing also a
library together with source-highlight so probably the next major
release will be... actually major ;-)

>
> One little thing that I think is a doc issue: it seems that when
> --gen-references=inline is given, but there end up being multiple
> tags, then the inline style is not used but instead the tags are
> listed under the reference.  This makes sense but it should probably
> be mentioned in the docs about --gen-references.
>

it is, actually:
http://www.gnu.org/software/src-highlite/source-highlight.html#Generating-References

"There is an exception: when an element has more than one reference
(because a variable is defined in many sources or because a method is
overloaded) then if inline is specified, the generation switches to
postline for that occurrence. "

> If you would enjoy seeing source-highlight helping with a sort of
> runtime case grapher/source browser thing that I wrote to help get a
> handle
> on our operational system, take a look at this:
>
> http://brittonkerin.com/src_browser/trace_out/source_browser.html

hey that's awesome!
is it an open source system/software that you intend to release?
that's very interesting, indeed!

hope to hear from you soon
cheers
        Lorenzo


_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Re: problem building sources for insall in $HOME as non-root user

by bkerin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Thu, 27 Nov 2008 22:07:59 +0100, "Lorenzo Bettini"
<bettini@...> said:
> Britton Kerin wrote:
> > Install as ordinary user seems to work fine now thanks.
>
> great!
> I'll release 2.11.1 soon (at the moment I'm working on providing also a
> library together with source-highlight so probably the next major
> release will be... actually major ;-)

Sweet.  One thing that would be lovely to see, though its only a
wishlist
item for sure and possibly not really in line with what source-highlight
does, would be folding in the HTML output.  I realize this opens the
can of horror otherwise known as JavaScript but it is pretty handy
sometimes
for reading source.

>
> >
> > One little thing that I think is a doc issue: it seems that when
> > --gen-references=inline is given, but there end up being multiple
> > tags, then the inline style is not used but instead the tags are
> > listed under the reference.  This makes sense but it should probably
> > be mentioned in the docs about --gen-references.
> >
>
> it is, actually:
> http://www.gnu.org/software/src-highlite/source-highlight.html#Generating-References

You're right.  I guess I like graphs because I can't read.

>
> "There is an exception: when an element has more than one reference
> (because a variable is defined in many sources or because a method is
> overloaded) then if inline is specified, the generation switches to
> postline for that occurrence. "
>
> > If you would enjoy seeing source-highlight helping with a sort of
> > runtime case grapher/source browser thing that I wrote to help get a
> > handle
> > on our operational system, take a look at this:
> >
> > http://brittonkerin.com/src_browser/trace_out/source_browser.html
>
> hey that's awesome!
> is it an open source system/software that you intend to release?
> that's very interesting, indeed!

Maybe sometime, its too rough for general consumption, and tends to be
sort of foiled still by the tendency of web systems to be written in
a combination of 4 or 5 different languages (ours has php, C, ruby,
JavaScript and of course SQL eeeeeep).  Its helpful to me
though and I really appreciate the highlighted code views.  

Britton

>
> hope to hear from you soon
> cheers
> Lorenzo
>
>
> _______________________________________________
> Help-source-highlight mailing list
> Help-source-highlight@...
> http://lists.gnu.org/mailman/listinfo/help-source-highlight




_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight