Building problems with latest git after git clone

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Building problems with latest git after git clone

Ian Hulin
Hi all,
I want to check that there's no problem with the actual git repository, and ask for some help in tracking down the problem on my local system.

1. I've just cloned the latest-and-greatest git repository as per Jan's instructions.

2. I've re-built and re-installed guile V1.8.7 after I did a trial install of guile 1.9.9.
I now get this at the bash prompt:
ian@nanny-ogg:~$ cd /home/ian/usr/src/lilypond
ian@nanny-ogg:~/usr/src/lilypond$ guile
guile> (version)
"1.8.7"
guile> (exit 0)
ian@nanny-ogg:~/usr/src/lilypond$
So I've got the right guile. . .
3. ian@nanny-ogg:~/usr/src/lilypond$ ./configure --prefix=$HOME/usr
checking build system type... i686-pc-linux-gnu                
checking host system type... i686-pc-linux-gnu                 
checking Package... LILYPOND                                   
checking builddir... /home/ian/usr/src/lilypond                
checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
<snip...>
hecking for kpsewhich... kpsewhich                                                                                                    
checking how to run the C preprocessor... gcc -E                                                                                       
checking for guile-config... guile-config                                                                                              
configure: WARNING: cannot execute guile-config                                                                                        
checking if we are cross compiling... checking echo no guile-config version...                                                         
expr: syntax error                                                                                                                     
expr: syntax error                                                                                                                     
expr: syntax error                                                                                                                     
checking guile compile flags... exec: 6: /home/ian/bin/guile: not found                                                                

checking guile link flags... exec: 6: /home/ian/bin/guile: not found

checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes     
checking for scm_boot_guile in -lguile... yes
checking for scm_boot_guile... yes          
checking GUILE rational bugfix... ok        
checking for python-config... python-config 
<snip...>
checking for -windres... no
checking for windres... no
checking for guile... guile
checking for guile... /usr/local/bin/guile
checking for perl... perl
checking for perl... /usr/bin/perl
checking for makeinfo... makeinfo
checking makeinfo version... 4.13
checking for texi2html... texi2html
checking texi2html version... 1.82
configure: creating ./config.status
config.status: creating config.make
config.status: creating config.hh

ERROR: Please install required programs:  echo no guile-config >= 1.8.2 (installed: )

See INSTALL.txt for more information on how to build LilyPond

ian@nanny-ogg:~/usr/src/lilypond$
ian@nanny-ogg:~/usr/src/lilypond$ echo $PATH
/home/ian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

Any hints or useful information appreciated.

Cheers,

Ian Hulin
Reply | Threaded
Open this post in threaded view
|

Re: Building problems with latest git after git clone

Patrick McCarty
Hi Ian,

On 2010-04-01, Ian Hulin wrote:

>
> 3. ian@nanny-ogg:~/usr/src/lilypond$ ./configure --prefix=$HOME/usr
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking Package... LILYPOND
> checking builddir... /home/ian/usr/src/lilypond
> checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
> <snip...>
> hecking for kpsewhich... kpsewhich
> checking how to run the C preprocessor... gcc -E
> checking for guile-config... guile-config
> configure: WARNING: cannot execute guile-config
> checking if we are cross compiling... checking echo no guile-config
> version...
> expr: syntax error
> expr: syntax error
> expr: syntax error
> checking guile compile flags... exec: 6: /home/ian/bin/guile: not found
>
> checking guile link flags... exec: 6: /home/ian/bin/guile: not found

This seems like a silly question, but did you run ./configure in the
same shell you used to uninstall Guile 1.9.9 with?

I'm asking because I occasionally see `/home/pnorcks/bin/blah: not
found' errors if I uninstall a program from $HOME/bin that I also have
installed elsewhere on my system (usually in /usr/bin).

Closing that shell and opening a fresh one before running a
$PATH-sensitive script like ./configure always works for me.

I'm hoping this will solve your problem.


Thanks,
Patrick

---
----
Join the Frogs!

Reply | Threaded
Open this post in threaded view
|

Re: Building problems with latest git after git clone

Ian Hulin
Hi Patrick,

On 01/04/10 23:48, Patrick McCarty wrote:

> Hi Ian,
>
> On 2010-04-01, Ian Hulin wrote:
>    
>> 3. ian@nanny-ogg:~/usr/src/lilypond$ ./configure --prefix=$HOME/usr
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... i686-pc-linux-gnu
>> checking Package... LILYPOND
>> checking builddir... /home/ian/usr/src/lilypond
>> checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
>> <snip...>
>> hecking for kpsewhich... kpsewhich
>> checking how to run the C preprocessor... gcc -E
>> checking for guile-config... guile-config
>> configure: WARNING: cannot execute guile-config
>> checking if we are cross compiling... checking echo no guile-config
>> version...
>> expr: syntax error
>> expr: syntax error
>> expr: syntax error
>> checking guile compile flags... exec: 6: /home/ian/bin/guile: not found
>>
>> checking guile link flags... exec: 6: /home/ian/bin/guile: not found
>>      
> This seems like a silly question, but did you run ./configure in the
> same shell you used to uninstall Guile 1.9.9 with?
>
> I'm asking because I occasionally see `/home/pnorcks/bin/blah: not
> found' errors if I uninstall a program from $HOME/bin that I also have
> installed elsewhere on my system (usually in /usr/bin).
>
> Closing that shell and opening a fresh one before running a
> $PATH-sensitive script like ./configure always works for me.
>
> I'm hoping this will solve your problem.
>
>
>    

Thanks Patrick, it wasn't quite that but I had a corrupted guile-config
in /home/ian/bin/guile.  Manually copying the version from the guile
V1.8.7 kit directory sorted it.

Is there a safe way to do a parallel install of guile V1.9.x to test
what compatibility's been broken without screwing up Lilypond
development or is it only safe to use a virtual machine?

Thanks for the pointers.

Cheers,

Ian



---
----
Join the Frogs!

Reply | Threaded
Open this post in threaded view
|

Re: Building problems with latest git after git clone

Patrick McCarty
On 2010-04-02, Ian Hulin wrote:
>
> Thanks Patrick, it wasn't quite that but I had a corrupted
> guile-config in /home/ian/bin/guile.  Manually copying the version
> from the guile V1.8.7 kit directory sorted it.

Great!

> Is there a safe way to do a parallel install of guile V1.9.x to test
> what compatibility's been broken without screwing up Lilypond
> development or is it only safe to use a virtual machine?

One possibility:

You could set up a local clone of the git repository you are using with
Guile 1.8, and use this local clone for testing with Guile 1.9.

It goes without saying that Guile 1.9.x will have to be installed in a
separate location (compared to Guile 1.8.x), and the ./configure
script will have to pick up Guile 1.9.x instead of Guile 1.8.x.  There
are many ways to accomplish this, and I don't really have a
recommended method.

My main repo is in ~/git/lilypond, so the following commands can be
used to set up a new local clone in ~/git/lily-guile-19 :

  cd ~/git/
  git clone --local lilypond lily-guile-19
  cd lily-guile-19/
  ./configure

Hope this helps!  I'm thinking of setting up parallel installations
for testing purposes too, so I'll let you know if I have any better
ideas.

-Patrick

---
----
Join the Frogs!