|
Packit |
29108b |
Possible problems:
|
|
Packit |
29108b |
------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* Compilation of applications that compiled fine with libgpod 0.4.2
|
|
Packit |
29108b |
fail with libgpod 0.5.0 or later because of unknown symbols.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
With version 0.5.0 of libgpod the namespace has been cleaned up. All
|
|
Packit |
29108b |
exported symbols now start with either ITDB or Itdb. Applications
|
|
Packit |
29108b |
using the old symbols will have to be adapted. Please see the
|
|
Packit |
29108b |
ChangeLog entry from 27 April 2007 for details on the renaming.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* If you get an error stating
|
|
Packit |
29108b |
|
|
Packit |
29108b |
"possibly undefined macro: AC_PROG_INTLTOOL"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
when running ./autogen.sh you need to install the "intltool"
|
|
Packit |
29108b |
package. On Debian
|
|
Packit |
29108b |
|
|
Packit |
29108b |
"apt-get install intltool"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
will do that for you.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* If you get an error stating
|
|
Packit |
29108b |
|
|
Packit |
29108b |
"checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
you need to install the libxml-parser package. On Debian
|
|
Packit |
29108b |
|
|
Packit |
29108b |
"apt-get install libxml-parser-perl"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
will do that for you.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* "/bin/sh: ../mkinstalldirs: No such file or directory"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
If you get this error, you are probably using automake >= 1.8.
|
|
Packit |
29108b |
Automake 1.8 does no longer install the mkinstalldirs file, and
|
|
Packit |
29108b |
gettext 0.14.4 does still depend on it... (automake 1.9.6 seems
|
|
Packit |
29108b |
to work fine, btw.)
|
|
Packit |
29108b |
|
|
Packit |
29108b |
Do a 'locate gettext/mkinstalldirs' and copy it over, then run
|
|
Packit |
29108b |
./autogen.sh again for good measure.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* "config.status: error: cannot find input file: po/Makefile.in.in"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
Upgrade intltool. 0.33 seems to work.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* "array size missing in `padding'"
|
|
Packit |
29108b |
|
|
Packit |
29108b |
Older versions of gcc don't seem to understand the construct. You can
|
|
Packit |
29108b |
either change the 'padding[]' strings to 'padding[0]' (not tested) or
|
|
Packit |
29108b |
upgrade your gcc to a more recent version (gcc-3.2 has been reported
|
|
Packit |
29108b |
to work) fine.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* Compiling for 64bit systems
|
|
Packit |
29108b |
|
|
Packit |
29108b |
The current autoconf/automake setup doesn't set the correct
|
|
Packit |
29108b |
installation path on 64bit systems. To work around this issue and to
|
|
Packit |
29108b |
get the libraries installed in the correct locations you need to
|
|
Packit |
29108b |
specify a couple extra parameters to autogen.sh (or configure). If your
|
|
Packit |
29108b |
installation prefix is '/opt/gnome' use the following:
|
|
Packit |
29108b |
|
|
Packit |
29108b |
./autogen.sh --prefix=/opt/gnome --enable-libsuffix=64 --libdir=/opt/gnome/lib64
|
|
Packit |
29108b |
|
|
Packit |
29108b |
If you use a different prefix, replace '/opt/gnome' accordingly.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
Added on 2007/1/15: Note that I don't have any problems on my Debian
|
|
Packit |
29108b |
4.1.1-13 system and won't have to do any of this.
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* Packages required to build python bindings
|
|
Packit |
29108b |
|
|
Packit |
29108b |
On Debian the following packages are required:
|
|
Packit |
29108b |
|
|
Packit |
29108b |
python (e.g. python2.4)
|
|
Packit |
29108b |
python-dev (e.g. python2.4-dev)
|
|
Packit |
29108b |
python-mutagen
|
|
Packit |
29108b |
|
|
Packit |
29108b |
These are needed for full photo/thumbnail support:
|
|
Packit |
29108b |
python-gtk2-dev (and python-gobject-dev, if using python-gtk2-dev >= 2.10)
|
|
Packit |
29108b |
|
|
Packit |
29108b |
------------------------------------------------------------
|
|
Packit |
29108b |
|
|
Packit |
29108b |
* The hal callout doesn't run automatically to setup SysInfoExtended
|
|
Packit |
29108b |
|
|
Packit |
29108b |
If you have hal and libsgutils installed before running autogen.sh or configure,
|
|
Packit |
29108b |
a hal callout and .fdi file will be built and installed. This will query an iPod
|
|
Packit |
29108b |
when it is plugged in and save the SysInfoExtended file in the proper place.
|
|
Packit |
29108b |
This should be completely automatic. However, for this to work, the callout must
|
|
Packit |
29108b |
be installed in hal's callout path. $libdir/hal/scripts is the most portable
|
|
Packit |
29108b |
location (hal's $libdir can be found using pkg-config). If the default paths for
|
|
Packit |
29108b |
the callout or fdi file are not detected properly, you can specify the proper
|
|
Packit |
29108b |
locations manually, via configure:
|
|
Packit |
29108b |
|
|
Packit |
29108b |
$ ./configure --with-hal-callouts-dir=DIR --with-hal-fdi-dir=DIR
|