gnokii-users
[Top][All Lists]
Advanced

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

Re: Need Help Regarding smsd [make: pg_config: Command not found]


From: Shoaib Khan
Subject: Re: Need Help Regarding smsd [make: pg_config: Command not found]
Date: Thu, 18 Sep 2008 11:48:26 +0500

I have got the latest version, but while trying to intall it by ./configure command it got stucked showing the error below. what to do?....
I appreciate your patience.
Thanks
Shoaib

address@hidden gnokii-0.6.26]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for rm... /bin/rm
checking for find... /usr/bin/find
checking for gmake... gmake
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for intltool >= 0.35.0... 0.37.1 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool


On Thu, Sep 18, 2008 at 11:18 AM, Benjamin Chodroff <address@hidden> wrote:
After you get the latest version, make sure after you run ./autogen.sh
in the main directory that Postgresql is not saying "Yes" and MySQL is
reporting "Yes"

If you still have problems, I would recommend reading this guide:
http://www.developershome.com/sms/gnokiiIntro.asp
It explains every step you must take and much more.

Make sure you have the proper libraries and development header files
for MySQL downloaded in your package manager. You will need these to
compile gnokii.

Ben


On Thu, Sep 18, 2008 at 2:04 AM, Shoaib Khan <address@hidden> wrote:
> Hi Ben,
> thanks for your prompt reply, i will definetely download the latest version
> and configure it,
> secondly i dont want to use smsd with postgresql, instead i have installed
> mysql on RHEL 5 which i have to use with smsd...any suggesion will be much
> appreciated.
> Thankyou,
> Regards
> Shoaib
>
> On Thu, Sep 18, 2008 at 10:59 AM, Benjamin Chodroff
> <address@hidden> wrote:
>>
>> Hi Shoaib -
>> I'd suggest downloading the latest version (0.6.26) from the website
>> and compiling from source - there have been a lot of changes since
>> 0.6.20 and it would be a lot easier for us to help you if you are
>> using the latest.
>> http://www.gnokii.org/download/gnokii/
>>
>> Looking at your errors, you have a lot of problems with pq.c which
>> deals with the postgresql database. Do you have the proper libraries
>> and development packages installed on RHEL for this?
>>
>> Ben
>>
>>
>> On Thu, Sep 18, 2008 at 1:44 AM, Shoaib Khan <address@hidden>
>> wrote:
>> > Hi All,
>> > i hope everybody reading this email will be having best of their health,
>> > i
>> > have been trying to configure gnokii for last two weeks,
>> > after all i have successfuly configured gnokii-0.6.20 on my RHEL, i am
>> > also
>> > a newbie to linux world, i have tested installation by running xgnokii
>> > and
>> > it successfuly sens sms
>> > the problem is that now i have to install/make smsd but it is
>> > continiously
>> > giving me error. i am pasting you guyz the output, please help me track
>> > this
>> > error.
>> >
>> > address@hidden gnokii-0.6.20]# cd smsd
>> > address@hidden smsd]# make
>> > make: pg_config: Command not found
>> > /bin/sh ../libtool --mode=compile gcc -o pq.lo -fno-strict-aliasing -g
>> > -O2
>> > -Wall -Wno-pointer-sign -fvisibility=hidden  -I../include
>> > -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include    \
>> >         -I../include -I -c pq.c
>> >  gcc -fno-strict-aliasing -g -O2 -Wall -Wno-pointer-sign
>> > -fvisibility=hidden
>> > -I../include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread
>> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../include -I -c
>> > pq.c
>> > -fPIC -DPIC -o .libs/pq.o
>> > pq.c:36:22: error: libpq-fe.h: No such file or directory
>> > pq.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before
>> > '*'
>> > token
>> > pq.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before
>> > '*'
>> > token
>> > pq.c: In function 'DB_Bye':
>> > pq.c:48: error: 'connIn' undeclared (first use in this function)
>> > pq.c:48: error: (Each undeclared identifier is reported only once
>> > pq.c:48: error: for each function it appears in.)
>> > pq.c:49: warning: implicit declaration of function 'PQfinish'
>> > pq.c:51: error: 'connOut' undeclared (first use in this function)
>> > pq.c: In function 'DB_ConnectInbox':
>> > pq.c:58: error: 'connIn' undeclared (first use in this function)
>> > pq.c:58: warning: implicit declaration of function 'PQsetdbLogin'
>> > pq.c:66: warning: implicit declaration of function 'PQstatus'
>> > pq.c:66: error: 'CONNECTION_BAD' undeclared (first use in this function)
>> > pq.c:70: warning: implicit declaration of function 'PQerrorMessage'
>> > pq.c:70: warning: format '%s' expects type 'char *', but argument 2 has
>> > type
>> > 'int'
>> > pq.c: In function 'DB_ConnectOutbox':
>> > pq.c:83: error: 'connOut' undeclared (first use in this function)
>> > pq.c:91: error: 'CONNECTION_BAD' undeclared (first use in this function)
>> > pq.c:95: warning: format '%s' expects type 'char *', but argument 2 has
>> > type
>> > 'int'
>> > pq.c: In function 'DB_InsertSMS':
>> > pq.c:110: error: 'PGresult' undeclared (first use in this function)
>> > pq.c:110: error: 'res' undeclared (first use in this function)
>> > pq.c:134: warning: implicit declaration of function 'PQexec'
>> > pq.c:134: error: 'connIn' undeclared (first use in this function)
>> > pq.c:136: warning: implicit declaration of function 'PQresultStatus'
>> > pq.c:136: error: 'PGRES_COMMAND_OK' undeclared (first use in this
>> > function)
>> > pq.c:139: warning: format '%s' expects type 'char *', but argument 2 has
>> > type 'int'
>> > pq.c:140: warning: implicit declaration of function 'PQclear'
>> > pq.c: In function 'DB_Look':
>> > pq.c:153: error: 'PGresult' undeclared (first use in this function)
>> > pq.c:153: error: 'res1' undeclared (first use in this function)
>> > pq.c:153: error: 'res2' undeclared (first use in this function)
>> > pq.c:153: warning: left-hand operand of comma _expression_ has no effect
>> > pq.c:167: error: 'connOut' undeclared (first use in this function)
>> > pq.c:177: error: 'PGRES_TUPLES_OK' undeclared (first use in this
>> > function)
>> > pq.c:180: warning: format '%s' expects type 'char *', but argument 2 has
>> > type 'int'
>> > pq.c:188: warning: implicit declaration of function 'PQntuples'
>> > pq.c:194: warning: implicit declaration of function 'PQgetvalue'
>> > pq.c:194: warning: passing argument 1 of 'atoi' makes pointer from
>> > integer
>> > without a cast
>> > pq.c:196: warning: passing argument 2 of '__builtin_strncpy' makes
>> > pointer
>> > from integer without a cast
>> > pq.c:203: warning: passing argument 2 of '__builtin_strncpy' makes
>> > pointer
>> > from integer without a cast
>> > pq.c:223: warning: format '%s' expects type 'char *', but argument 5 has
>> > type 'int'
>> > pq.c:226: error: 'PGRES_COMMAND_OK' undeclared (first use in this
>> > function)
>> > pq.c:229: warning: format '%s' expects type 'char *', but argument 2 has
>> > type 'int'
>> > make: *** [pq.lo] Error 1
>> >
>> >
>> > _______________________________________________
>> > gnokii-users mailing list
>> > address@hidden
>> > http://lists.nongnu.org/mailman/listinfo/gnokii-users
>> >
>> >
>>
>>
>> _______________________________________________
>> gnokii-users mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>
>


_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users


reply via email to

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