Compiling pgadmin on Red Hat Enterprise 4 - Mailing list pgadmin-support
From | Rômulo Lucio Vale de Moraes |
---|---|
Subject | Compiling pgadmin on Red Hat Enterprise 4 |
Date | |
Msg-id | 20060303161441.96260.qmail@web53508.mail.yahoo.com Whole thread Raw |
List | pgadmin-support |
Hi,<br /><br /> I was trying to install pgadmin with src packs. I installed all requirements but i founded some errors.<br/><br /> Report:<br /><span style="font-weight: bold;">- The version of pgadmin: </span>pgadmin3-1.4.1<br /><brstyle="font-weight: bold;" /><span style="font-weight: bold;">- Operational system: </span>Red Hat Enterprise 4, kernellversion 2.6.9-11.ELsmp<br /><br /><span style="font-weight: bold;">- wxGTK-2.6.2 if below command lines:</span><br/> cd wxWidgets*<br /> ./configure --with-gtk --enable-gtk2 --enable-unicode --enable-mimetype=no<br/> make<br /> sudo make install<br /><br /><span style="font-weight: bold;">- libxml2-2.6.16-1.i386.rpm</span><br/><br /><span style="font-weight: bold;">- PostgreSQL version: </span>postgresql-8.1.3<span style="font-family: monospace;"><br /></span>./configure<span style="font-family: monospace;"><br/></span>gmake<span style="font-family: monospace;"><br /></span>su<span style="font-family: monospace;"><br/></span>gmake install<span style="font-family: monospace;"><br /></span>adduser postgres<span style="font-family:monospace;"><br /></span>mkdir /usr/local/pgsql/data<br /> chown postgres /usr/local/pgsql/data<span style="font-family:monospace;"><br /></span>su - postgres<span style="font-family: monospace;"><br /></span>/usr/local/pgsql/bin/initdb-D /usr/local/pgsql/data<span style="font-family: monospace;"><br /></span>/usr/local/pgsql/bin/postmaster-D /usr/local/pgsql/data >logfile 2>&1 &<span style="font-family: monospace;"><br/></span>/usr/local/pgsql/bin/createdb test<span style="font-family: monospace;"><br /></span>/usr/local/pgsql/bin/psqltest<br /><br /><span style="font-weight: bold;">When i tried to instal do pgadmin:</span><br/> ./configure .......... Ok!<br /> make all ............. Error!<br /> ...<br /><span style="font-style:italic;">In file included from ../src/include/pgAdmin3.h:22,</span><br style="font-style: italic;" /><spanstyle="font-style: italic;"> from ./pgAdmin3.cpp:13:</span><br style="font-style: italic;" /><spanstyle="font-style: italic;">../src/include/ctl/ctlSQLBox.h:17:24: wx/stc/stc.h: File not founded!</span><br style="font-style:italic;" /><span style="font-style: italic;">In file included from ../src/include/pgAdmin3.h:22,</span><brstyle="font-style: italic;" /><span style="font-style: italic;"> from./pgAdmin3.cpp:13:</span><br style="font-style: italic;" /><span style="font-style: italic;">../src/include/ctl/ctlSQLBox.h:23:error: expected class-name before '{' token</span><br style="font-style: italic;"/><span style="font-style: italic;">./pgAdmin3.cpp:60:24: wx/ogl/ogl.h: File or Directory not founded</span><br style="font-style:italic;" /><span style="font-style: italic;">./pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()':</span><brstyle="font-style: italic;" /><span style="font-style: italic;">./pgAdmin3.cpp:341: error:`wxOGLInitialize' undeclared (first use this function)</span><br style="font-style: italic;" /><span style="font-style:italic;">./pgAdmin3.cpp:341: error: (Each undeclared identifier is reported only once for each functionit appears in.)</span><br style="font-style: italic;" /><span style="font-style: italic;">make[2]: ** [pgAdmin3.o]Error 1</span><br style="font-style: italic;" /><span style="font-style: italic;">make[2]: Leaving directory`/usr/local/pgadmin3-1.4.1/src'</span><br style="font-style: italic;" /><span style="font-style: italic;">make[1]:** [all-recursive] Error 1</span><br style="font-style: italic;" /><span style="font-style: italic;">make[1]:Leaving directory `/usr/local/pgadmin3-1.4.1'<br style="font-style: italic;" /><span style="font-style:italic;">make: ** [all] Error 2</span><br /><br /> How to solve this problem?<br /><br /> Best regards,<br/><br /> Rômulo.<p><hr size="1" /> Yahoo! Acesso Grátis <br /> Internet rápida e grátis. <a href="http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.acesso.yahoo.com">Instaleo discador agora!</a></span>
pgadmin-support by date: