[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Installation of LilyPond without root permissions
From: |
Rune Zedeler |
Subject: |
Installation of LilyPond without root permissions |
Date: |
Tue, 21 Nov 2000 13:35:57 +0100 |
Hi there! I am new here - and hopefully you will be seeing a lot to me in
the future.
But for now, I am just trying to install LilyPond on UNIX at the university
where I have no root permissions.
the manual seems very nice but the installation instructions do not. - They
are very short and hard to understand.
They say:
<begin>
to install GNU LilyPond, simply type:
gunzip -c lilypond-x.y.z | tar xf -
cd lilypond-x.y.z
./configure # fill in your standard
prefix with --prefix
make
make install
[...]
The above assumes that you are root and have the GNU
development tools, and your make is GNU make. If this is not the case, you
can adjust your environment
variables to your taste:
export CPPFLAGS="-I /home/me/my_include
-DWEIRD_FOOBAR"
./configure
CPPFLAGS are the preprocessor flags.
The configure script is Cygnus configure, and it will accept
--help. If you are not root, you will probably have to make it with a
different --prefix option.
Our favourite location is
./configure --prefix=$HOME/usr
<end>
There were no comments about what I had to put into the "my_include"-dir or
the "usr"-dir. So I just made two empty dirs "/users/rz/inc" and
"/users/rz/usr"; then I unpacked lilypond-1.2.17.tar.gz in
"/users/rz/lilypond"
and did the following:
> cd /users/rz/lilypond/lilypond-1.2.17/
> export CPPFLAGS="-I /users/rz/inc -DWEIRD_FOOBAR"
> ./configure --prefix=/users/rz/usr
the configuring succeeded.
Then I did:
> make
The making made a lot of output on the screen - and ended with a
compile-error.
The error was depending on which machine I used - but i.e. on a
pentiumIII-linux the output ended with:
[...]
rm -f out/paper-score.dep; DEPENDENCIES_OUTPUT="out/paper-score.dep
out/paper-score.o" c++ -c -DHAVE_CONFIG_H -DNPRINT -I.. -Iinclude -Iout
-I../lib/include -I../lib/out -I../flower/include -I../flower/out
-I../lib/include -I../flower/include -g -g -I /users/rz/inc
-DWEIRD_FOOBAR -DNPRINT -I/usr/local/include -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wconversion paper-score.cc -o out/paper-score.o
paper-score.cc: In method `void Paper_score::typeset_element(Score_element
*)':
paper-score.cc:52: non-lvalue in assignment
make[1]: *** [out/paper-score.o] Error 1
make[1]: Leaving directory `/users/rz/lilypond/lilypond-1.2.17/lily'
make: *** [all] Error 2
And the failing c-file, paper-score.c is
[...]
46 void
47 Paper_score::typeset_element (Score_element * elem_p)
48 {
49 elem_p->pscore_l_ = this;
50
51 SCM_CDR(element_smob_list_) = gh_cons (elem_p->self_scm_,
52 SCM_CDR (element_smob_list_));
53 elem_p->set_elt_property (ly_symbol ("full-name"),
54 gh_str02scm((char*)elem_p->name()));
55
56 scm_unprotect_object (elem_p->self_scm_);
57 }
[...]
What is wrong and what can I do?
--
/¯\ __ __ /¯¯¯¯¯\ _ Rune Zedeler
________/ /// \\__/ \\\ ---/ \¯-_ Otte Ruds Gade 44A,4tv
\ / //¯| \\/ ||¯\ \\¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯-_ 8200 Århus N
) / // | \ ` / || \ \\ Lemmus of Efreet - Denmark
/ / ¯¯¯¯¯\\|\-'/ /¯¯¯¯¯ \\____________ _-¯
¯¯¯¯¯\------'/||¯¯| \------'/ /_-¯ address@hidden
¯¯¯¯¯¯\-'/ \-'/¯¯¯¯¯¯ ¯ Tel: +45-86786563
¯¯ ¯¯
- Installation of LilyPond without root permissions,
Rune Zedeler <=
- Installation of LilyPond without root permissions, Rune Zedeler, 2000/11/24
- Re: Installation of LilyPond without root permissions, Mats Bengtsson, 2000/11/24
- Re: Installation of LilyPond without root permissions, Mats Bengtsson, 2000/11/25
- Re: Installation of LilyPond without root permissions, Rune Zedeler, 2000/11/27
- Re: Installation of LilyPond without root permissions, Han-Wen Nienhuys, 2000/11/27
- Re: Installation of LilyPond without root permissions, Han-Wen Nienhuys, 2000/11/27
- Re: Installation of LilyPond without root permissions, Mats Bengtsson, 2000/11/27
- Re: Installation of LilyPond without root permissions, Rune Zedeler, 2000/11/27
- Re: Installation of LilyPond without root permissions, Mats Bengtsson, 2000/11/27