bugGNU Mailutils - Bugs: bug #10427, Problem compiling mailutils 0.5

 
 

bug #10427: Problem compiling mailutils 0.5

Submitted by:  Pierre <pierre42>
Submitted on:  Fri 17 Sep 2004 11:30:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 18 Sep 2004 10:05:10 AM UTC, comment #1:

Specify proper CPPFLAGS while configuring, e.g.:

./configure CPPFLAGS=-I/usr/local/whatever/psql/include

Sergey Poznyakoff <gray>
Project Administrator
Fri 17 Sep 2004 11:30:09 PM UTC, original submission:

[...]
Making all in auth
make[2]: Entering directory `/tmp/mailutils-0.5/auth'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../mailbox/include -I../lib -I../include/mailutils/gnu -DSYSCONFDIR=\"/usr/local/etc\" -DSITE_VIRTUAL_PWDDIR=\"/usr/local/etc/domain\" -DSITE_CRAM_MD5_PWD=\"/usr/local/etc/yes\" -s -O3 -march=i686 -MT pgsql.lo -MD -MP -MF ".deps/pgsql.Tpo" -c -o pgsql.lo pgsql.c; \
then mv -f ".deps/pgsql.Tpo" ".deps/pgsql.Plo"; else rm -f ".deps/pgsql.Tpo"; exit 1; fi
rm -f .libs/pgsql.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../mailbox/include -I../lib -I../include/mailutils/gnu -DSYSCONFDIR=\"/usr/local/etc\" -DSITE_VIRTUAL_PWDDIR=\"/usr/local/etc/domain\" -DSITE_CRAM_MD5_PWD=\"/usr/local/etc/yes\" -s -O3 -march=i686 -MT pgsql.lo -MD -MP -MF .deps/pgsql.Tpo -c pgsql.c -fPIC -DPIC -o .libs/pgsql.lo
pgsql.c:24:22: libpq-fe.h: No such file or directory
pgsql.c:27: error: parse error before '*' token
pgsql.c: In function `pg_connect':
pgsql.c:30: error: `PGconn' undeclared (first use in this function)
pgsql.c:30: error: (Each undeclared identifier is reported only once
pgsql.c:30: error: for each function it appears in.)
pgsql.c:30: error: `pgconn' undeclared (first use in this function)
pgsql.c:45: error: `CONNECTION_BAD' undeclared (first use in this function)
pgsql.c: At top level:
pgsql.c:66: error: parse error before '*' token
pgsql.c: In function `pg_auth_common':
pgsql.c:71: error: `ExecStatusType' undeclared (first use in this function)
pgsql.c:71: error: parse error before "stat"
pgsql.c:75: error: `stat' undeclared (first use in this function)
pgsql.c:75: error: `res' undeclared (first use in this function)
pgsql.c:77: error: `PGRES_TUPLES_OK' undeclared (first use in this function)
pgsql.c:90: error: `query_str' undeclared (first use in this function)
pgsql.c:104: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:105: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:106: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast
pgsql.c:107: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast
pgsql.c:108: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:109: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:113: warning: passing arg 1 of `chop' makes pointer from integer without a cast
pgsql.c:124: error: `auth' undeclared (first use in this function)
pgsql.c: In function `pg_auth_sql_by_name':
pgsql.c:146: error: `PGconn' undeclared (first use in this function)
pgsql.c:146: error: `conn' undeclared (first use in this function)
pgsql.c:147: error: `PGresult' undeclared (first use in this function)
pgsql.c:147: error: `res' undeclared (first use in this function)
pgsql.c: In function `pg_auth_sql_by_uid':
pgsql.c:197: error: `PGconn' undeclared (first use in this function)
pgsql.c:197: error: `conn' undeclared (first use in this function)
pgsql.c:198: error: `PGresult' undeclared (first use in this function)
pgsql.c:198: error: `res' undeclared (first use in this function)
pgsql.c: In function `pg_sql_authenticate':
pgsql.c:244: error: `PGconn' undeclared (first use in this function)
pgsql.c:244: error: `conn' undeclared (first use in this function)
pgsql.c:245: error: `PGresult' undeclared (first use in this function)
pgsql.c:245: error: `res' undeclared (first use in this function)
pgsql.c:276: error: `ExecStatusType' undeclared (first use in this function)
pgsql.c:276: error: parse error before "stat"
pgsql.c:278: error: `stat' undeclared (first use in this function)
pgsql.c:278: error: `PGRES_TUPLES_OK' undeclared (first use in this function)
pgsql.c:303: warning: passing arg 1 of `chop' makes pointer from integer without a cast
make[2]: *** [pgsql.lo] Error 1
make[2]: Leaving directory `/tmp/mailutils-0.5/auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mailutils-0.5'
make: *** [all] Error 2

Pierre <pierre42>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 18 Sep 2004 10:05:10 AM UTCgrayStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1