Problem compiling pgadmin3 under kdevelop

From: Massimo Fidanza <massimo_fidanza(at)aliceposta(dot)it>
To: pgadmin-support(at)postgresql(dot)org
Subject: Problem compiling pgadmin3 under kdevelop
Date: 2005-02-17 18:58:27
Message-ID: 4214E953.3070001@aliceposta.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I have a problem compiling Pgadmin3 in kdevelop.

I try to compile pgadmin 3 under kdevelop on Debian Sarge (kdevelop
3.1.1) and on Gentoo (kdevelop 3.2.0_beta2) but in both case the
compilation stop with the following error:

make[2]: Entering directory `/home/max/projects/pgadmin3/debug/src'
make[2]: *** No rule to make target `ui/common/*.xrc', needed by
`all-am'. Stop.
make[2]: Leaving directory `/home/max/projects/pgadmin3/debug/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/max/projects/pgadmin3/debug'
make: *** [all] Error 2

I look in to the problem and find that the compilation of source code
succeded but $(DATA) failed. As shown in src/Makefile row
all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
the compilation as 3 target $(PROGRAM) * succeded, $(DATA) fails and
compilation stop.

To solve the problem I change the build directory from debug to . and
this time the compilation end with no error. So I think that the problem
is relative to ui/common/*.xrc that isn't found under debug source.

May be prefixing some variable like $SOURCE_ROOT to

nobase_dist_pkgdata_DATA = $SOURCE_ROOT/ui/common/*.xrc \
$SOURCE_ROOT/ui/wxstd.mo \
.......

will solve the problem.

I don't know how to do that in configure. May someone help me.

Browse pgadmin-support by date

  From Date Subject
Next Message Keith Worthington 2005-02-17 22:13:02 pgadmin3 locked up
Previous Message Virgil Frum 2005-02-16 09:57:22 should avoid permission denied for relation pg_attribute