bug-gnupod
[Top][All Lists]
Advanced

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

Re: [Bug-gnupod] gnupod on Windows XP/7, install/configure/make issues


From: H. Langos
Subject: Re: [Bug-gnupod] gnupod on Windows XP/7, install/configure/make issues
Date: Fri, 8 Oct 2010 14:34:24 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Brian,

Instead of trying to teach configure to pass on the prefix, you can
edit the Makefile (not the "Makefile.in") and change the prefix and/or
bindir,infodir and mandir there.

On Fri, Oct 08, 2010 at 06:06:22AM -0500, Brian Stewart wrote:
> 42nd variation/try (on numerous PCs) ... maybe i have to take this to
> a cygwin forum, but I at least need an idea of what is broke to go
> that route.   Here is my latest (best) ./configure run
> 
> 
> address@hidden ~/gnupod-0.99.8-low-ram
> $ ./configure
> checking for perl-5.8... no
> checking for perl-5.6... no
> checking for perl... /cygdrive/c/strawberry/perl/bin/perl

This only means that configure looks for a binary called "perl-5.8" and
"perl-5.6" before simply looking for "perl". Thats ok.

> GNUpod will use /cygdrive/c/strawberry/perl/bin/perl
...
> checking for ffmpeg with AAC support... not found, --decode=video won't work
> checking for ImageMagick...not found, --artwork won't work

This is ok unless you use gnupod to add or remove songs.

Does cover artwork show up on your ipod? It may be that you have to keep
some attributes apart from title, artist and album to have it working.

> configure: creating ./config.status
> config.status: creating Makefile
> config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir 
> setting

No problem there. 
 
> Settings:
> ---------
> 
> Release         : 0.99.8
> Perl Version    : 5.8.9
> Prefix          : /usr/local
> Perl INC        : C:/strawberry/perl/lib
> Encoders        : (mpeg4/no ffmpeg with aac support found) (disabled
> faac: Binary not found) (disabled lame: Binary not found) wav
> Decoders        : (disabled timidity: Binary not found) (disabled
> flac: Binary not found) (disabled oggdec: Binary not found)
> Artwork Support : No  (ImageMagick is not installed)
> 
> -> use 'make install' to install GNUpod
> -> use 'info GNUpod' to read the documentation after you installed GNUpod
> -> use 'make uninstall' to remove GNUpod from /usr/local
> 
> address@hidden ~/gnupod-0.99.8-low-ram
> $ make install
> /bin/sh ./mkinstalldirs /usr/local/bin
> /bin/sh ./mkinstalldirs /usr/local/share/man/man1
> /cygdrive/c/strawberry/perl/bin/perl tools/gnupod_install.pl INSTALL
> "/cygdrive/c/strawberry/perl/bin/perl" "/usr/local/bin"
> "/usr/local/share/info" "/usr/local/share/man" ""
> Could not write //usr/local/bin/gnupod_addsong.pl: No such file or directory
> Installing GNUpod 0.99.8 using gnupod_install 0.25
>  > src/gnupod_addsong.pl --> //usr/local/bin/gnupod_addsong.pl
> make: *** [install] Error 2
> 
> 
> Notice the "config.status: WARNING:  'Makefile.in' seems to ignore the
> --datarootdir setting" message not sure if that has any impact.  I've
> tried your --prefix in numerous ways to no avail.

Does configure ignore "--prefix=foo" or does it produce an error message?

> It never seems to directly find Perl on the ./configure (as says no to
> 5.6 5.8) but finds it in the path and uses it, I don't think that is
> any part of the issue but pointing it out anyhow.
> 
> I've been trying to decipher the make install, in order to do a
> "manual" into -- but haven't made it very far.  Any pointers?

The 0.99.8 Version uses a perl script (toos/gnupod_install.pl" to do the
actual install work because it also rewrites some minor things within the
files as it goes along. I'm going to get rid of it, or at least make it
less monolithic in the next releases of gnupod.


The 0.99.9 version will first create a "build" directory and create
that rewritten copy into the build directory. Afterwards in a separate step
it will copy those files from the "build" directory into the final target
directories. You could do that step on your own if configure fails to take
your prefix into account.

You can download a snapshot at
http://git.savannah.gnu.org/cgit/gnupod.git/snapshot/master.tar.gz
but you will need to run "autoconf" before you get a "./configure"
that you can run.

I you have trouble with that, I can send you a pre-release package.

But first, try editing the Makefile directly and see if you get it working
that way.


cheers
-henrik




reply via email to

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