Re: Missing make files, etc - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Missing make files, etc
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40103D9EE@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Missing make files, etc  (Susemail <susemail@hawaii.rr.com>)
Responses Re: Missing make files, etc
List pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Susemail
> Sent: 22 January 2006 09:49
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Missing make files, etc
>
> I'm missing some files I need in make all:
>
> Making all in src
> make[2]: Entering directory `/home/adriel/bin/pgadmin3-1.4.1/src'
> make[2]: *** No rule to make target `pgAdmin3.cpp', needed by
> `pgAdmin3.o'.
> Stop.
> make[2]: Leaving directory `/home/adriel/bin/pgadmin3-1.4.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/adriel/bin/pgadmin3-1.4.1'
> make: *** [all] Error 2
>
> there was no /pgAdmin3.cpp in pgadmin3-1.4.1 so I downloaded
> the latest
> (Revision: 4257) and added it to the src  directory to see if
> it would work:


Then you have a corrupted download/source tree - I just checked and it's
definitely there. Did you verify the integrity of the tarball against my
pgp key?

> Making all in src
> --snip--
> In file included from ../src/include/pgAdmin3.h:22,
>                  from ./pgAdmin3.cpp:13:
> ../src/include/ctl/ctlSQLBox.h:17:24: error: wx/stc/stc.h: No
> such file or
> directory
> ./pgAdmin3.cpp:60:24: error: wx/ogl/ogl.h: No such file or directory
> ../src/include/ctl/ctlSQLBox.h:23: error: expected class-name
> before '{' token
> ./pgAdmin3.cpp: In member function 'virtual bool pgAdmin3::OnInit()':
> ./pgAdmin3.cpp:341: error: 'wxOGLInitialize' was not declared
> in this scope
> make[2]: *** [pgAdmin3.o] Error 1
> make[2]: Leaving directory `/home/adriel/bin/pgadmin3-1.4.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/adriel/bin/pgadmin3-1.4.1'
> make: *** [all] Error 2
>
> How do I fix this?

make; make install

In the wx/contrib directory should do it. Specifically, you need to
install the STC and OGL wx contrib modules.

Regards, Dave.

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: pgadmin website changes
Next
From: "Dave Page"
Date:
Subject: Re: Query tool: Autocompletion