Thread: Missing make files, etc

Missing make files, etc

From
Susemail
Date:
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:

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?

I'm using Suse 10.0,wxGTK-2.6.2(./configure --with-gtk --enable-gtk2
--enable-unicode --enable-mimetype=no),pgadmin3-1.4.1

Thanks,
Jerome



Re: Missing make files, etc

From
"Dave Page"
Date:

> -----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.

Re: Missing make files, etc

From
Susemail
Date:
On Sunday 22 January 2006 00:53, Dave Page wrote:
> > -----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:
> >

> >
> > 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?
>
No, I didn't.  I've spent the last hour looking for an example of how to do
this.  No luck.  How do I  verify the integrity of the tarball against your
pgp key?

Thanks,
Jerome

Re: Missing make files, etc

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Susemail
> Sent: 22 January 2006 21:08
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Missing make files, etc
>
> On Sunday 22 January 2006 00:53, Dave Page wrote:
> > > -----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:
> > >
>
> > >
> > > 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?
> >
> No, I didn't.  I've spent the last hour looking for an
> example of how to do
> this.  No luck.  How do I  verify the integrity of the
> tarball against your
> pgp key?

wget http://www.pgadmin.org/pgp/davepage.pgp
gpg --import davepage.pgp
gpg --verify pgadmin3-1.4.1.tar.gz.sig

You want it to say something like:

gpg: Good signature from "Dave Page <dpage@pgadmin.org>"

Somewhere in the four or five lines of output you'll probably get.

Regards, Dave.

Re: Missing make files, etc

From
Susemail
Date:
On Sunday 22 January 2006 23:13, Dave Page wrote:
> > -----Original Message-----
> > From: pgadmin-hackers-owner@postgresql.org
> > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Susemail
> > Sent: 22 January 2006 21:08
> > To: pgadmin-hackers@postgresql.org
> > Subject: Re: [pgadmin-hackers] Missing make files, etc
> >
> > On Sunday 22 January 2006 00:53, Dave Page wrote:
> > > > -----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:
> > >
> > > 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?
> >
> > No, I didn't.  I've spent the last hour looking for an
> > example of how to do
> > this.  No luck.  How do I  verify the integrity of the
> > tarball against your
> > pgp key?
>
> wget http://www.pgadmin.org/pgp/davepage.pgp
> gpg --import davepage.pgp
> gpg --verify pgadmin3-1.4.1.tar.gz.sig
>
> You want it to say something like:
>
> gpg: Good signature from "Dave Page <dpage@pgadmin.org>"
>
> Somewhere in the four or five lines of output you'll probably get.
>
> Regards, Dave.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq

Thank you.  Here is the output:

@linux:~/bin> gpg --verify pgadmin3-1.4.1.tar.gz.sig
gpg: Signature made Sat 10 Dec 2005 04:47:04 AM HST using DSA key ID 1A19643B
gpg: Good signature from "Dave Page <dpage@pgadmin.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 752C 3D8A 5274 C381 9231  7EAA 9602 0E04 1A19 643B

So does this mean the copy of pgadmin3 I have is not corrupted?  Or must I do
another check with the primary key fingerprint?
Jerome



Re: Missing make files, etc

From
Dave Page
Date:


On 23/1/06 19:02, "Susemail" <susemail@hawaii.rr.com> wrote:

> So does this mean the copy of pgadmin3 I have is not corrupted?

Yes. Which means that pgAdmin3.cpp must be in there somewhere!

Regards, Dave.


Re: Missing make files, etc

From
Susemail
Date:
On Monday 23 January 2006 10:23, Dave Page wrote:
> On 23/1/06 19:02, "Susemail" <susemail@hawaii.rr.com> wrote:
> > So does this mean the copy of pgadmin3 I have is not corrupted?
>
> Yes. Which means that pgAdmin3.cpp must be in there somewhere!
>
> Regards, Dave.
True, I found it. This is the error message I get from make all:

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

these files cannot be found:wx/stc/stc.h,wx/ogl/ogl.h.
Are they a part of wxWidgets?  If they are and in this file
tree: /usr/local/include/wx-2.6/wx then there is nostc or ogl directory in
the wx directory.

As for ../src/include/ctl/ctlSQLBox.h:23: error: expected class-name before
‘{’ token
and
./pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’:
./pgAdmin3.cpp:341: error: ‘wxOGLInitialize’ was not declared in this scope

aren't these programming errors?

I'm using Suse 10.0.  Are there any rpms I could use?  I tried the Fedora Core
rpm but was blocked by unmet dependencies (libssl.so.5,libcryto.so.5)

Thanks, looking forward to using the program,
Jerome

Re: Missing make files, etc

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Susemail
> Sent: 24 January 2006 09:30
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Missing make files, etc
>
> these files cannot be found:wx/stc/stc.h,wx/ogl/ogl.h.
> Are they a part of wxWidgets?  If they are and in this file
> tree: /usr/local/include/wx-2.6/wx then there is nostc or ogl
> directory in
> the wx directory.
>
> As for ../src/include/ctl/ctlSQLBox.h:23: error: expected
> class-name before
> '{' token
> and
> ./pgAdmin3.cpp: In member function 'virtual bool pgAdmin3::OnInit()':
> ./pgAdmin3.cpp:341: error: 'wxOGLInitialize' was not declared
> in this scope
>
> aren't these programming errors?

No, otherwise they'd probably have shown up in the few hundred thousand
binary copies we've distributed so far :-)

Those errors occur because you haven't installed the wxWidgets STC and
OGL libraries. The easiest way to do this is to run 'make all; make
install' from the wxWidgets contrib directory.

See the exmaple on http://www.pgadmin.org/download/source.php for more
info.

Regards Dave

Re: Missing make files, etc

From
Miha Radej
Date:
hi!

Susemail wrote:
> I'm using Suse 10.0.  Are there any rpms I could use?  I tried the Fedora Core
> rpm but was blocked by unmet dependencies (libssl.so.5,libcryto.so.5)

on suse try using yast to install wxwidgets. from yast, install packages
as you need them: wxGTK (yast offers version 2.6.1 where pgadmin builds
just fine), wxGTK-copmat, wxGTK-devel, openssl-devel, postgresql-devel
and so on.

if it is of any help, i use these yast sources which surely must contain
all packages you might need:
http://ftp.opensuse.org/pub/opensuse/distribution/SL-10.0-OSS/inst-source
http://ftp.opensuse.org/pub/opensuse/distribution/SL-10.0-OSS/inst-source-java
ftp://ftp.suse.com/pub/suse/i386/10.0/SUSE-Linux10.0-GM-Extra
http://packman.iu-bremen.de/suse/10.0

regards,
Miha

--
"... the small primitive tribes joined up and became huge, powerful
primitive tribes with more sophisticated weapons."
   -- Terry Pratchett, Small Gods

Re: Missing make files, etc

From
Susemail
Date:
On Monday 23 January 2006 23:39, Dave Page wrote:
> > -----Original Message-----
> > From: pgadmin-hackers-owner@postgresql.org
> > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Susemail
> > Sent: 24 January 2006 09:30
> > To: pgadmin-hackers@postgresql.org
> > Subject: Re: [pgadmin-hackers] Missing make files, etc
> >

> >
> > aren't these programming errors?
>
> No, otherwise they'd probably have shown up in the few hundred thousand
> binary copies we've distributed so far :-)
>
I know. I know.  I just couldn't resist a bit of mischief.

> Those errors occur because you haven't installed the wxWidgets STC and
> OGL libraries. The easiest way to do this is to run 'make all; make
> install' from the wxWidgets contrib directory.

done and done.
>
> See the exmaple on http://www.pgadmin.org/download/source.php for more
> info.
>
> Regards Dave
>
I am up and running!

Thank you Dave for your time and patience:-)
Jerome