How to build wxwidgets from source on Manjaro linux?

Hello
i am trying to build wxwidgets from source but it’s not working !
i try the debian based distros way but not working ,because i didn’t find the arch based way.
this is what i am trying to do :

Go to the directory decompressed by wxWidgets. Create a compilation directory to keep it clean.

$ Mkdir gtk-build
$ Cd gtk-build/

Run the configure and make commands. Each task will take some time to complete.

$ …/Configure – disable-shared – enable-unicode
$ Make
so when i do this command :

../Configure -- disable-shared -- enable-unicode

i get this error

configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking build system type... Invalid configuration `disable-shared': machine `disable' not recognized
configure: error: /bin/sh ../config.sub disable-shared failed

when i try this

--build, --host, --target

also not working .

So please if any one have do this ever can you tell me how to build it from source .

it may also worth mentioning where you donwloaded wxwidgets from …
By the way, I think instead of :

../Configure -- disable-shared -- enable-unicode

you should try :

../Configure --disable-shared --enable-unicode

I mean, remove the space between -- and disable-shared

1 Like

thank you it’s working .

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.