problem running the configuration script -

18 views
Skip to first unread message

Ken Turner

unread,
Jan 31, 2026, 6:11:32 PM (5 days ago) Jan 31
to wx-u...@googlegroups.com
trying to run the simple case installation script from
the "wxWidgets for GTK installation" page.
	$ mkdir buildgtk
	$ cd buildgtk
	$ ../configure --with-gtk
	$ make
	$ sudo make install
	$ sudo ldconfig

The ../configure command mostly worked, however, 
it did produce several fatal errors (see examples below).

Opening data:

	This file contains any messages produced by compilers while
	running configure, to aid debugging if configure makes a mistake.

	It was created by wxWidgets configure 3.2.9, which was
	generated by GNU Autoconf 2.69.  Invocation command line was

	  $ ../configure --with-gtk

	## --------- ##
	## Platform. ##
	## --------- ##

	hostname = ken-Inspiron-518
	uname -m = x86_64
	uname -r = 6.14.0-37-generic
	uname -s = Linux
	uname -v = #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2

Fatal error 1:    

    configure:13468: gcc -V >&5
    gcc: error: unrecognized command-line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:13479: $? = 1

Fatal error 2:

    configure:13468: gcc -qversion >&5
    gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
    gcc: fatal error: no input files
    compilation terminated.
    configure:13479: $? = 1

Fatal error 3:

    configure:14621: gcc -E  conftest.c
    conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
       10 | #include <ac_nonexistent.h>
          |          ^~~~~~~~~~~~~~~~~~
    compilation terminated.
    configure:14621: $? = 1

There are several other examples but I want to limit the size of this email.

I would appreciate any advice you can give.

Thanks,
Ken Turner


Vadim Zeitlin

unread,
Jan 31, 2026, 6:15:27 PM (5 days ago) Jan 31
to wx-u...@googlegroups.com
On Sat, 31 Jan 2026 17:10:53 -0600 Ken Turner wrote:

KT> trying to run the simple case installation script from
KT> the "wxWidgets for GTK installation" page.
KT>
KT> $ mkdir buildgtk
KT> $ cd buildgtk
KT> $ ../configure --with-gtk
KT> $ make
KT> $ sudo make install
KT> $ sudo ldconfig
KT>
KT> The ../configure command mostly worked, however, it did produce several
KT> fatal errors (see examples below). Opening data:

If configure didn't give any error at the end, it must have worked and
it's normal to find compilation errors in config.log (if this is what you
mean by "data"?) as it tries compiling many different test programs and
it's expected that some of them will fail.

If configure did give an error, please tell us what it was and if the
error message is really not clear, please locate the _last_ error in
config.log, which should typically occur near the error message output by
configure, so you could search for that error and then look further up in
the file to see which test program failed to result in it and why.

KT> There are several other examples but I want to limit the size of this email.

Thank you, this is definitely appreciated and full config.log would be
definitely too long to post. But you may need to post the extract from it
containing just the error -- if there is, in fact, one.

Good luck,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/
Reply all
Reply to author
Forward
0 new messages