[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] wxOil compiling issues

Hi Alex,

> You need to pass an argument to --with-wx-config to specify where
> it finds the 2.6.3 wx-config (gentoo installs it under a name
> other than wx-config), e.g.
> ./configure --with-wx-config=/usr/local/somewhere/wx-config-2.6.3

On this system wx-config is in /usr/bin:

lrwxrwxrwx 1 root root    45 Apr 15 07:54 /usr/bin/wx-config ->
-rwxr-xr-x 1 root root 39501 Apr 15 07:54 /usr/bin/wx-config-2.6

I tried both './configure --with-wx-config=/usr/bin/wx-config' and
/usr/bin/wx-config-2.6 and configure seems to be happy with either one.

> Note as I said there is a current Gentoo bug that will require
> you to delete the "-i" from the command line to build-resources.pl
> in wxOil/Makefile.am - this will stop you from building
> internationalized resources but everything else should work.

Sorry, I misunderstood at first. I took out the -i from wxOil/Makefile.am,
line 45, but it still comes up with an error. Is the problem that somehow
wxrc isn't getting an argument? Finally, it is reporting that line 40 in
build-resources.pl 'die ($error);' is a "bad option" -- not sure about
that one.

I'm a bit green on coding, but I've built lots of hard to compile
packages. Hope you don't mind my questions.

Here is the latest error message:

make -C ../wxOil clean
Option wxrc requires an argument

 buildresources.pl - build camelot resources


 buildresources.pl [options]

   -t TOPDIR           - Build source directory (for out of tree builds)
   -o OUTPUTDIR        - Build output directory (defaults to "wxOil")
   -f                  - Force rebuilding of resources and svnversion
   -x                  - setting of XARALANGUAGE
   -n / --version x.y  - set version to x.y ; omit to prevent svnversion
   -i | --international- build internationalisation resources ; omit to
                         prevent wxrc / xgettext etc usage
   --xgettext PATH     - pass alternate path to xgettext
   --wxrc PATH         - pass alternate path to wxrc
   --verbose           - be very loud about it
   --user              - setting of USERNAME
   --help              - display this message

Bad option at .././Scripts/build-resources.pl line 40.
make[2]: Entering directory `/home/dfort/src/XaraLX/XaraLX/wxOil'
Makefile:296: *** "Resource build failed".  Stop.