User forums > General (but related to Code::Blocks)

Compiling Code::Blocks: ./bootstrap command errors.

<< < (3/7) > >>

Krice:
It was not XCode.. When I search internet this has been a problem at least since 2007 for linux and OSX I guess. Could someone figure this out for good? I mean this: possibly undefined macro: AM_PATH_WXCONFIG in when running ./bootstrap command. There has to be some linux or osx people here, right?

stahta01:

--- Quote from: Krice on August 14, 2019, 01:04:56 pm ---It was not XCode.. When I search internet this has been a problem at least since 2007 for linux and OSX I guess. Could someone figure this out for good? I mean this: possibly undefined macro: AM_PATH_WXCONFIG in when running ./bootstrap command. There has to be some linux or osx people here, right?

--- End quote ---

You need to get wx-config to work!

And, then tell me what wx-config --prefix returns or I will add you to the list of people who is not able to be helped by me!

Tim S.

sodev:
The problem is that the bootstrap script, or more precisely autoconf that is used by it, cannot find the wxWidgets autoconf files. This is because either they are not installed at all or in a location that autoconf isn't looking for.

So first you have to make sure that you have wxWidgets fully installed and then you can try what was written earlier in this thread to make autoconf find these files. Just beeing able to run wx-config is not enough, but it can be used to get the path that needs to be added to the autoconf search paths.

Krice:

--- Quote from: stahta01 on August 14, 2019, 03:59:07 pm ---And, then tell me what wx-config --prefix returns or I will add you to the list of people who is not able to be helped by me!
--- End quote ---

I was reading through similar threads (in wxwidgets forum) and in one thread someone told that when you are in the directory you need to write ./wx-config, NOT wx-config. Cool, now I know something you didn't know and revealed to me in the first place. So now, ./wx-config --prefix returns:

/Users/Krice/Documents/wxw

(I guess it's safe to tell my osx username, it's not like it's a mystery...)

And that's where wxwidgets is installed. wxWidgets is also working, the minimal example compiles and runs fine.

sodev:

--- Quote from: Krice on August 15, 2019, 12:49:28 pm ---when you are in the directory you need to write ./wx-config, NOT wx-config

--- End quote ---

Welcome to Linux where unlike in Windows the current directory is not on the search path.

And now head on and fix autoconf...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version