Hi

I got around the previous error related to PKG_CONFIG by changing the configure 
file(note: I am not using the pkgconfig utility)

However I am now seeing the below error.

checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html

Any idea what I should have to do?

Regards
Kiran

________________________________
From: Jeffrey Middleton [mailto:jefr...@gmail.com]
Sent: Wednesday, October 14, 2009 1:21 PM
To: Kiran Biswal
Cc: Max Kellermann; musicpd-dev-team@lists.sourceforge.net
Subject: Re: [Musicpd-dev-team] Question about MPD compilation and MAD 
integration

I see that you're installing these into nonstandard locations on your system.  
You'll probably need to point pkg-config in their direction by setting 
PKG_CONFIG_PATH as suggested in your error messages, something like:

PKG_CONFIG_PATH="$AUDIOPLAYER_USR_DIR:$PKG_CONFIG_PATH"

I don't recall if this replaces pkg-config's built-in default or not.  It's 
possible you have to add things like "/usr/lib/pkgconfig" onto the list as well.


Jeffrey


On Wed, Oct 14, 2009 at 2:55 PM, Kiran Biswal 
<bis...@broadcom.com<mailto:bis...@broadcom.com>> wrote:
Hi,

Not sure what piece of information you are asking but it should be installing 
everything that libmad and libid3tag packages offer. I got the 
libmad-0.15.1b.tar.gz and libid3tag-0.15.1b.tar.gz packages from 
ftp://ftp.mars.org/pub/mpeg/ and configured as below.

And did ./config with CONFIG_ARGS_COMMON

CONFIG_ARGS_COMMON := --host=xxx-yyy-zzzz \
       --prefix=$(AUDIOPLAYER_USR_DIR) $(CONFIG_BUILD_LIB_TYPES) \
       CFLAGS="-I$(AUDIOPLAYER_USR_DIR)/include" \
       LDFLAGS="-L$(AUDIOPLAYER_USR_DIR)/lib"

Regarding the libraries generated I see: libmad.a  libmad.la<http://libmad.la>  
libmad.so  libmad.so.0  libmad.so.0.2.1


Libmad source:

CHANGES      aclocal.m4    fixed.c        layer12.h       qc_table.dat
COPYING      bit.c         fixed.h        layer3.c        rq_table.dat
COPYRIGHT    bit.h         frame.c        layer3.h        sf_table.dat
CREDITS      config.guess  frame.h        libmad.list.in<http://libmad.list.in> 
 stream.c
D.dat        config.h.in<http://config.h.in>   global.h       ltmain.sh       
stream.h
INSTALL      config.sub    huffman.c      mad.h           synth.c
Makefile.am  configure     huffman.h      mad.h.sed       synth.h
Makefile.in  configure.ac<http://configure.ac>  imdct_l_arm.S  minimad.c       
timer.c
README       decoder.c     imdct_s.dat    missing         timer.h
TODO         decoder.h     install-sh     mkinstalldirs   version.c
VERSION      depcomp       layer12.c      msvc++          version.h

Libmad objectfiles:

Makefile       decoder.lo  huffman.lo  libmad.la<http://libmad.la>    stream.lo 
 version.lo
bit.lo         decoder.o   huffman.o   libmad.list  stream.o   version.o
bit.o          fixed.lo    layer12.lo  libtool      synth.lo
config.h       fixed.o     layer12.o   mad.h        synth.o
config.log     frame.lo    layer3.lo   msvc++       timer.lo
config.status  frame.o     layer3.o    stamp-h1     timer.o

Thank you!

Kiran K. Biswal
Software Applications Engineer
Wireless Connectivity Business Unit
Broadcom Corporation
(408) 922-2012

-----Original Message-----
From: Max Kellermann [mailto:m...@duempel.org<mailto:m...@duempel.org>]
Sent: Wednesday, October 14, 2009 1:45 AM
To: Kiran Biswal
Cc: 
musicpd-dev-team@lists.sourceforge.net<mailto:musicpd-dev-team@lists.sourceforge.net>
Subject: Re: [Musicpd-dev-team] Question about MPD compilation and MAD 
integration

On 2009/10/14 10:28, Kiran Biswal 
<bis...@broadcom.com<mailto:bis...@broadcom.com>> wrote:
> I am trying to compile MPD and in the process have compiled the
> dependent libraries e.g. libmad and libid3tag

What exactly of libmad and libid3tag is installed?



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net<mailto:Musicpd-dev-team@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to