This is a discussion on Problem compiling pgadmin3 under kdevelop within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> I have a problem compiling Pgadmin3 in kdevelop. I try to compile pgadmin 3 under kdevelop on Debian Sarge ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster |