This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem configuring gtkpod-0.94.0 in cygwin:


I had really weird formatting problems with my last post, and I'm very sorry,
please use this below as my question:

I have cygwin/X working on my computer and have compiled a couple of programs
and use them with no problems, but I am having trouble during ./configure in my
attempt to compile gtkpod from source.  Here is the error message:

checking for id3_frame_field in -lid3tag... no
configure: error: *** id3tag >= 0.15 lib not found (0.14 will not work!)

Here is (I hope) the relevant part of my config.log file:
##################################################################

configure:6965: checking for id3_frame_field in -lid3tag
configure:6995: gcc -o conftest.exe -O2 -L/usr/local/include -Wall   conftest.c
-lid3tag  -I/usr/local/lib >&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
-lid3tag
collect2: ld returned 1 exit status
configure:7001: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gtkpod"
| #define VERSION "0.94.0"
| #define GETTEXT_PACKAGE "gtkpod"
| #define ITDB_USE_ABBREV 1
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_FLOCK 1
| #define HAVE_STATVFS 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char id3_frame_field ();
| int
| main ()
| {
| id3_frame_field ();
|   ;
|   return 0;
| }
configure:7026: result: no
configure:7036: error: *** id3tag >= 0.15 lib not found (0.14 will not work!)

#######################################################################

Before attempting to compile, I downloaded the source and compiled with
'./configure; make; make install' the following three items:

libmad-0.15.1b
libid3tag-0.15.1b
libgpod-0.1.6

Then I follow the instructions for the Cygwin port: 
http://www.oliwen.com/bamanzi/cygwin/release/gtk2/gtkpod/gtkpod.README 

Build gtkpod on Cygwin
-------------------------
1. Download source package from http://gtkpod.sourceforge.net
and make sure you have header files and export library of libid3tag.
And if you want AAC support, you need to build libmp4v2 
  (source package available from http://mpeg4ip.sourceforge.net)

2. Unpack
 $ tar zxvf gtkpod-${version}.tar.gz

3. Patch
 For version greater than 0.93, you need to edit src/Makefile.in and
 add '-export-all-symbols' to 'gtkpod_LDFLAGS'.

4. Build
 $ cd gtkpod-${version}
 $ CFLAGS="-O2 -L/usr/local/include" LIBS="-I/usr/local/lib" ./configure

I am not sure exactly what step 3 is asking for, but I edited the file so that
the line with 'gtkpod_LDFLAGS' looks like the following:

gtkpod_LDFLAGS= -export-all-symbols

I was unsure as to whether or not I should have used single or double quotes or
even any quotes at all.

I am confused.  Maybe I should have passed some options during the ./configure
stage of compiling libid3tag-0.15.1b?

Any suggestions?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]