Thread: Compilation problems under SuSE 8.2

Compilation problems under SuSE 8.2

From
Jean-Michel POURE
Date:
Dear all,

pgAdmin3 does not compile under SuSE 8.2 anymore. Any idea?

Cheers,
Jean-Michel

************************************
make[2]: Entering directory `/usr/src/packages/BUILD/pgadmin3-0.8/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/pgsql
-I/var/tmp/wxGTK2ud-root/usr/lib/wx/include/gtk2ud-2.5
-I/var/tmp/wxGTK2ud-root/usr/include -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include
-DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I -Wall -g -O0
-MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" \
  -c -o pgAdmin3.o `test -f 'pgAdmin3.cpp' || echo './'`pgAdmin3.cpp; \
then mv ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; \
else rm -f ".deps/pgAdmin3.Tpo"; exit 1; \
fi
In file included from /usr/include/wx/defs.h:23,
                 from /usr/include/wx/wx.h:15,
                 from pgAdmin3.cpp:14:
/usr/include/wx/platform.h:86:22: wx/setup.h: No such file or directory
In file included from /usr/include/wx/platform.h:89,
                 from /usr/include/wx/defs.h:23,
                 from /usr/include/wx/wx.h:15,
                 from pgAdmin3.cpp:14:
/usr/include/wx/chkconf.h:47:9: #error "wxUSE_DYNLIB_CLASS must be defined."
/usr/include/wx/chkconf.h:55:9: #error "wxUSE_FILESYSTEM must be defined."
/usr/include/wx/chkconf.h:68:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
/usr/include/wx/chkconf.h:76:9: #error "wxUSE_LOG must be defined."
/usr/include/wx/chkconf.h:84:9: #error "wxUSE_LONGLONG must be defined."
/usr/include/wx/chkconf.h:92:9: #error "wxUSE_MIMETYPE must be defined."
/usr/include/wx/chkconf.h:100:9: #error "wxUSE_PROTOCOL must be defined."
/usr/include/wx/chkconf.h:142:9: #error "wxUSE_REGEX must be defined."
/usr/include/wx/chkconf.h:150:9: #error "wxUSE_SOCKETS must be defined."
/usr/include/wx/chkconf.h:158:9: #error "wxUSE_STREAMS must be defined."
/usr/include/wx/chkconf.h:166:9: #error "wxUSE_STOPWATCH must be defined."
/usr/include/wx/chkconf.h:174:9: #error "wxUSE_TEXTBUFFER must be defined."
/usr/include/wx/chkconf.h:182:9: #error "wxUSE_TEXTFILE must be defined."
/usr/include/wx/chkconf.h:190:9: #error "wxUSE_UNICODE must be defined."
/usr/include/wx/chkconf.h:198:9: #error "wxUSE_URL must be defined."
/usr/include/wx/chkconf.h:216:9: #error "wxUSE_ACCEL must be defined."
/usr/include/wx/chkconf.h:224:9: #error "wxUSE_BMPBUTTON must be defined."
/usr/include/wx/chkconf.h:232:9: #error "wxUSE_BUTTON must be defined."
/usr/include/wx/chkconf.h:240:9: #error "wxUSE_CALENDARCTRL must be defined."
/usr/include/wx/chkconf.h:248:9: #error "wxUSE_CARET must be defined."
/usr/include/wx/chkconf.h:256:9: #error "wxUSE_CHECKBOX must be defined."
/usr/include/wx/chkconf.h:264:9: #error "wxUSE_CHECKLISTBOX must be defined."
/usr/include/wx/chkconf.h:272:9: #error "wxUSE_CHOICE must be defined."
/usr/include/wx/chkconf.h:280:9: #error "wxUSE_CHOICEDLG must be defined."
/usr/include/wx/chkconf.h:288:9: #error "wxUSE_CLIPBOARD must be defined."
/usr/include/wx/chkconf.h:296:9: #error "wxUSE_COLOURDLG must be defined."
/usr/include/wx/chkconf.h:304:9: #error "wxUSE_COMBOBOX must be defined."


Re: Compilation problems under SuSE 8.2

From
Andreas Pflug
Date:
Jean-Michel POURE wrote:

>Dear all,
>
>pgAdmin3 does not compile under SuSE 8.2 anymore. Any idea?
>
>Cheers,
>Jean-Michel
>
>************************************
>make[2]: Entering directory `/usr/src/packages/BUILD/pgadmin3-0.8/src'
>if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/pgsql
>-I/var/tmp/wxGTK2ud-root/usr/lib/wx/include/gtk2ud-2.5
>-I/var/tmp/wxGTK2ud-root/usr/include -D__WXDEBUG__ -D__WXGTK__
>-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include
>-DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I -Wall -g -O0
>-MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" \
>  -c -o pgAdmin3.o `test -f 'pgAdmin3.cpp' || echo './'`pgAdmin3.cpp; \
>then mv ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; \
>else rm -f ".deps/pgAdmin3.Tpo"; exit 1; \
>fi
>In file included from /usr/include/wx/defs.h:23,
>                 from /usr/include/wx/wx.h:15,
>                 from pgAdmin3.cpp:14:
>/usr/include/wx/platform.h:86:22: wx/setup.h: No such file or directory
>
>
This file should be the only file in the lib/wx/include/gtk2ud-2.5
directory.

Regards,
Andreas



Re: Compilation problems under SuSE 8.2

From
Jean-Michel POURE
Date:
On Monday 14 July 2003 23:45, Andreas Pflug wrote:
> This file should be the only file in the lib/wx/include/gtk2ud-2.5
> directory.

The file can be found in:
/usr/lib/wx/include/gtk2ud-2.5/wx/setup.h

wxGTK2.5ud does not compile under gcc3.3 yet (at least the xrc and stc parts).
Therefore, I use the binaries compiled under Redhat9. I don't understand why
compilation works on all platforms and not under SuSE8.2/gcc3.3.

Cheers,
Jean-Michel


Re: Compilation problems under SuSE 8.2

From
Jean-Michel POURE
Date:
Dear all,

ln -s /usr/lib/wx/include/gtk2ud-2.5/wx/setup.h /usr/include/wx/setup.h
solved the problem. Will include it in wxGTK2ud packages.

Cheers,
Jean-Michel