Okay, after a fresh install of the developers tools as well (not fun on
this mobile connection), I have managed to get the CVN to run
autoreconf, athough it fails when using -i because of a lack of the
"autopoint" command (the configure file seems to be made okay without it
though). Maybe I should move this to the developer's list, apologies in
advance if it's more appropriate there. (I'm being overly verbose in
case others encounter the same situation)
However, there was a slight error in the configure file, located for me
around line 14292:
----------------------------------------------------
# I let it for backward compatibility purposes
# Check whether --enable-glib-utf8 was given.
if test "${enable_glib_utf8+set}" = set; then
enableval=$enable_glib_utf8;
else
fi
----------------------------------------------------
By just deleting "else" (or adding a random echo line after else) the
script runs fine. I'm not sure if this is a result of something on my
end or something that needs checking in the source (I have absolutely no
experience with creating make files).
However, the makefile itself causes a number of issues. The first error
is:
sed: build-aux/ltmain.sh: No such file or directory
I found a number of different versions of ltmain.sh on-line, one of
which creates even more errors when used. Since autopoint is part of
gettext-lint I've installed that and now the result is and went back to
the autoreconf -f -i, which fails with the following:
----------------------------------------------------
configure.ac:40: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:112: error: possibly undefined macro: AC_DISABLE_STATIC
autoreconf: /opt/local/bin/autoconf failed with exit status: 1
----------------------------------------------------
I used m4_pattern_allow, which resulted in the following error repeated
for multiple files:
----------------------------------------------------
lib/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
lib/Makefile.am:5: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
lib/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf'
again.
lib/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make
sure
lib/Makefile.am:5: its definition is in aclocal's search path.
----------------------------------------------------
libtool does reside in my system (in the rather obvious
/usr/bin/libtool, and confirmed with "which libtool")
Searching a bit more, I found that potentially I needed the libtool-dev
package which allowed for a fully successful "autoreconf -a -i" (this
removed the previously mentioned configure file if/fi error). However,
when making, the following error is thrown up for gabc:
----------------------------------------------------
Making all in gabc
/bin/sh ../../libtool --tag=CC --mode=link gcc -L../../lib -g -O2
-no-undefined -module -avoid-version -o gabc.la -rpath
/usr/local/lib/gregorio gabc-elements-determination.lo gabc-write.lo
gabc-glyphs-determination.lo gabc-score-determination-l.lo
gabc-notes-determination-l.lo gabc-score-determination-y.lo -lfl
-lgregorio
libtool: link: gcc -o .libs/gabc.so -bundle
.libs/gabc-elements-determination.o .libs/gabc-write.o
.libs/gabc-glyphs-determination.o .libs/gabc-score-determination-l.o
.libs/gabc-notes-determination-l.o .libs/gabc-score-determination-y.o
-L/Users/mateo/Applications/gregorio/trunk/lib -lfl
/Users/mateo/Applications/gregorio/trunk/lib/.libs/libgregorio.dylib
-lltdl
Undefined symbols:
"_gettext", referenced from:
_gabc_score_determination_lex in gabc-score-determination-l.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [gabc.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
----------------------------------------------------
I'm not sure what else to try now. In a quick view of
gabc-score-determination-l-c I don't see anything that would use
gettext, so I'm not sure what I can change to get it to compile.
Any ideas from here?
Matt
-------- Original Message --------
Subject: Re: [Gregorio-users] Installation issues
From: Elie Roux <[email protected]>
Date: Wed, July 21, 2010 8:23 am
To: [email protected]
Cc: [email protected]
[email protected] a écrit :
> Okay, thanks.
>
>
> Unfortunately now I'm finding myself in a similar situation as one or
> two other people have had in the archives, where gregorio.sty isn't
> found (their solutions didn't work though). But after doing a new clean
> install of both TeX and Gregorio, it still wouldn't work (in fact, I've
> found that the install script fails silently if the only TeX
> installation is texlive 2009, I had to change the default search
> directories to get it to run).
>
>
> There error I'm getting is this "! LaTeX Error: File `gregoriotex.sty'
> not found."
>
Hello,
can you please:
- tell the list the gregorio version you're using (a svn version or 1.0
?) 1.0 version is probably not installing very well under TeXLive 2009
(to install a svn version, please follow the instructions on the
website)
- run mktexlsr
- copy/paste the result of kpsewhich gregorio.sty
- tell where the gregorio.sty file is on your system
Thank you,
--
Elie
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users