Bug#897604: Broken AX_LIB_POSTGRESQL macro in sid?

2018-05-03 Thread Andreas Seltenreich
Package: autoconf-archive
Version: 20170928-2

Hi,

autoconf-archive appears to yield a broken configure script for the
AX_LIB_POSTGRESQL macro.  Symptoms:

,[ ./configure ]
| checking for libpq-fe.h... yes
| checking for the PostgreSQL library linking is working... configure: error: 
in `/home/andreas/sqlsmith':
| configure: error: could not find libpq-fe.h header
`

This is due to bad testcode:

,[ config.log ]
| conftest.cpp:30:21: error: invalid conversion from 'const char*' to 'char' 
[-fpermissive]
|char conninfo="dbname = postgres";
|  ^~~
`

The reason seems to be insufficent quoting in the autoconf-archive macro
definition for AX_LIB_POSTGRESQL:

,[ aclocal.m4 ]
|   char conninfo[]="dbname = postgres";
`

I got a working configure script after adding addtiional quoting like
this:

sudo sed -i 's/conninfo\[]/conninfo\[\[]]/' 
/usr/share/aclocal/ax_lib_postgresql.m4
autoreconf -i

regards,
Andreas



Bug#873664: Missing dependency on python-xdg

2018-04-13 Thread Andreas Seltenreich
Hi,

I can confirm the missing dependency on python-xdg.  I guess the first
thing most people do after starting gladish for the first time is to
click the "configure jack" menuitem.  This didn't do anything for me
besides emitting a python backtrace until I installed python-xdg
manually.

regards,
Andreas



Bug#344937: Error when using custom $libdir within Odin

2005-12-27 Thread Andreas Seltenreich
Package: eli
Version: 4.4.1-1

When a custom libdir is specified within Odin (e.g.
+lib_sp=(/foo/bar/baz)), the following error occurs during a build
process:

--8---cut here---start-8---
~/.ODIN/tp/PKGS/eli/mkfile.sh: line 51: : command not found
--8---cut here---end---8---

Solution:

--8---cut here---start-8---
[EMAIL PROTECTED]:/usr/lib/Eli/eli/2.0.0# rcsdiff -c mkfile.sh
===
RCS file: mkfile.sh,v 
retrieving revision 1.1   
diff -c -r1.1 mkfile.sh   
*** mkfile.sh   2005/12/27 17:50:27 1.1
--- mkfile.sh   2005/12/27 17:50:36   
***   
*** 48,54 
  s/^://'`
  if test $libpath != ''
  then
!   if $LD_LIBRARY_PATH != ''
then LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libpath
else LD_LIBRARY_PATH=$libpath
fi
--- 48,54 
  s/^://'`
  if test $libpath != ''
  then
!   if test $LD_LIBRARY_PATH != ''
then LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libpath
else LD_LIBRARY_PATH=$libpath
fi
--8---cut here---end---8---

regards,
Andreas Seltenreich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]