pga3: FreeBSD Port

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <pgadmin-hackers(at)postgresql(dot)org>
Cc: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Subject: pga3: FreeBSD Port
Date: 2003-06-27 15:56:16
Message-ID: 03AF4E498C591348A42FC93DEA9661B844B166@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi All,

I just got KDE vaguely running on FreeBSD 5.1 and started working on a
port of pga3.

First problem, FreeBSD seems to evaluate:

if test "$pgsql_cv_libpq" == "yes" -a "$pgsql_cv_libpqfe_h" == "yes"

to false, even if both variables do actually equal yes. Please see
attached logfile.

As a test, I commented out the if statement:

# if test "$pgsql_cv_libpq" == "yes" -a "$pgsql_cv_libpqfe_h" ==
"yes"
# then
AC_MSG_CHECKING(pgsql in ${LIBPQ_HOME})
AC_MSG_RESULT(ok)
if test "$pg_static_build" == "yes"
then
LIBS="$LIBS ${LIBPQ_HOME}/lib/libpq.a -lcrypt"
else
LIBS="$LIBS -lpq"
fi
# else
# AC_MSG_CHECKING(pgsql in ${LIBPQ_HOME})
# AC_MSG_RESULT(failed)
# LDFLAGS="$PGSQL_OLD_LDFLAGS"
# CPPFLAGS="$PGSQL_OLD_CPPFLAGS"
# AC_MSG_ERROR([you must specify a valid pgsql installation with
--with-pgsql=DIR])
# fi
fi
])

and associated bits such that it just ran the static build test and
then carried on. This built successfully (yay!), however, (second
problem) although it statically linked the wx stuff as I wanted, it
dynamically linked libpq.

So, does this mean 'if test' is broken on FreeBSD?

Aside from those relatively minor build issues, in my 2 minute test,
pgAdmin 3 seems to run OK on FreeBSD 5.1!!

Regards, Dave

Attachment Content-Type Size
config.log application/octet-stream 19.2 KB

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2003-06-27 17:57:22 Re: PgAdmin3-Error
Previous Message Dave Page 2003-06-27 12:39:03 Re: pgAdmin3 feedback