Trying to build latest souce

pbowyer
2012-08-21
2013-10-03
  • pbowyer

    pbowyer - 2012-08-21

    I downloaded the source using:

    git clone git://wxmaxima.git.sourceforge.net/gitroot/wxmaxima/wxmaxima

    I then did:

    cd wxmaxima

    ./bootstrap

    Output was:

    configure.in:10: installing `./config.guess'

    configure.in:10: installing `./config.sub'

    configure.in:17: installing `./install-sh'

    configure.in:20: installing `./missing'

    locales/Makefile.am:42: `%'-style pattern rules are a GNU make extension

    locales/Makefile.am:46: `%'-style pattern rules are a GNU make extension

    src/Makefile.am: installing `./depcomp'

    I then did:

    ./configure

    Output was:

    checking build system type... i686-pc-linux-gnu

    checking host system type... i686-pc-linux-gnu

    checking target system type... i686-pc-linux-gnu

    checking for g++... g++

    checking whether the C++ compiler works... yes

    checking for C++ compiler default output file name... a.out

    checking for suffix of executables...

    checking whether we are cross compiling... no

    checking for suffix of object files... o

    checking whether we are using the GNU C++ compiler... yes

    checking whether g++ accepts -g... yes

    checking for gcc... gcc

    checking whether we are using the GNU C compiler... yes

    checking whether gcc accepts -g... yes

    checking for gcc option to accept ISO C89... none needed

    checking for a BSD-compatible install... /usr/bin/install -c

    checking whether make sets $(MAKE)... yes

    checking whether build environment is sane... yes

    checking for a thread-safe mkdir -p... /bin/mkdir -p

    checking for gawk... gawk

    checking for style of include used by make... GNU

    checking dependency style of gcc... gcc3

    checking dependency style of g++... gcc3

    checking for wx-config... /usr/bin/wx-config

    checking for wxWidgets version >= 2.8.4... yes (version 2.8.12)

    checking for wxWidgets static library... no

    checking if we can compile a wxWidgets program... yes

    configure: creating ./config.status

    config.status: creating Makefile

    config.status: creating src/Makefile

    config.status: creating locales/Makefile

    config.status: creating data/Makefile

    config.status: creating wxmaxima.spec

    config.status: creating data/Info.plist

    config.status: creating src/Setup.h

    config.status: executing depfiles commands

    I then did:

    make

    Output was too lengthy to post, and make finished without errors, but nothing
    was done for locales and data.

    This is the last few lines of the make output:

    make: Leaving directory `~/wxmaxima/src'

    make: Leaving directory `~/wxmaxima/src'

    Making all in locales

    make: Entering directory `~/wxmaxima/locales'

    make: Nothing to be done for `all'.

    make: Leaving directory `~/wxmaxima/locales'

    Making all in data

    make: Entering directory `~/wxmaxima/data'

    make: Nothing to be done for `all'.

    make: Leaving directory `~/wxmaxima/data'

    make: Entering directory `~/wxmaxima'

    make: Nothing to be done for `all-am'.

    make: Leaving directory `~/wxmaxima'

    I then did:

    sudo make install

    Output was:

    Making install in src

    make: Entering directory `~/wxmaxima/src'

    make: Entering directory `~/wxmaxima/src'

    test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"

    /usr/bin/install -c wxmaxima '/usr/local/bin'

    make: Nothing to be done for `install-data-am'.

    make: Leaving directory `~/wxmaxima/src'

    make: Leaving directory `~/wxmaxima/src'

    Making install in locales

    make: Entering directory `~/wxmaxima/locales'

    make: Entering directory `~/wxmaxima/locales'

    make: Nothing to be done for `install-exec-am'.

    for i in fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl ; do \

    /bin/sh ~/wxmaxima/install-sh -d /usr/local/share/locale/$i/LC_MESSAGES ; \

    /usr/bin/install -c -m 644 ./$i.mo
    /usr/local/share/locale/$i/LC_MESSAGES/wxMaxima.mo ; \

    done

    /usr/bin/install: cannot stat `./fr.mo': No such file or directory

    /usr/bin/install: cannot stat `./es.mo': No such file or directory

    /usr/bin/install: cannot stat `./it.mo': No such file or directory

    /usr/bin/install: cannot stat `./de.mo': No such file or directory

    /usr/bin/install: cannot stat `./pt_BR.mo': No such file or directory

    /usr/bin/install: cannot stat `./ru.mo': No such file or directory

    /usr/bin/install: cannot stat `./hu.mo': No such file or directory

    /usr/bin/install: cannot stat `./uk.mo': No such file or directory

    /usr/bin/install: cannot stat `./pl.mo': No such file or directory

    /usr/bin/install: cannot stat `./zh_TW.mo': No such file or directory

    /usr/bin/install: cannot stat `./da.mo': No such file or directory

    /usr/bin/install: cannot stat `./cs.mo': No such file or directory

    /usr/bin/install: cannot stat `./el.mo': No such file or directory

    /usr/bin/install: cannot stat `./ja.mo': No such file or directory

    /usr/bin/install: cannot stat `./ca.mo': No such file or directory

    /usr/bin/install: cannot stat `./gl.mo': No such file or directory

    make: *** Error 1

    make: Leaving directory `~/wxmaxima/locales'

    make: *** Error 2

    make: Leaving directory `~/wxmaxima/locales'

    make: *** Error 1

    Are there more steps required to build from source than are given in the
    README file that is included?

    What else must I do to get a working wxmaxima?

    I'm running on PCLinuxOS with KDE-4.8.3.

    uname -spr

    Linux 3.2.18-pclos1.bfs i686

     
    • Daniel

      Daniel - 2013-08-11

      I also receive "/usr/bin/install: cannot stat `./fr.mo': No such file or directory" and the other similar errors when trying to compile from source checked out from git:

      ./bootstrap # errors described below
      ./configure
      make
      make install
      ...
      for i in fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN ; do \ /bin/bash /home/dsteinberg/Desktop/workspace/wxmaxima-code/install-sh -d /home/dsteinberg/DAS/Software/wxmaxima/share/locale/$i/LC_MESSAGES ; \ /usr/bin/install -c -m 644 ./$i.mo /home/dsteinberg/DAS/Software/wxmaxima/share/locale/$i/LC_MESSAGES/wxMaxima.mo ; \ done
      /usr/bin/install: cannot stat ./fr.mo': No such file or directory /usr/bin/install: cannot stat./es.mo': No such file or directory
      /usr/bin/install: cannot stat ./it.mo': No such file or directory /usr/bin/install: cannot stat./de.mo': No such file or directory
      /usr/bin/install: cannot stat ./pt_BR.mo': No such file or directory /usr/bin/install: cannot stat./ru.mo': No such file or directory
      /usr/bin/install: cannot stat ./hu.mo': No such file or directory /usr/bin/install: cannot stat./uk.mo': No such file or directory
      /usr/bin/install: cannot stat ./pl.mo': No such file or directory /usr/bin/install: cannot stat./zh_TW.mo': No such file or directory
      /usr/bin/install: cannot stat ./da.mo': No such file or directory /usr/bin/install: cannot stat./cs.mo': No such file or directory
      /usr/bin/install: cannot stat ./el.mo': No such file or directory /usr/bin/install: cannot stat./ja.mo': No such file or directory
      /usr/bin/install: cannot stat ./ca.mo': No such file or directory /usr/bin/install: cannot stat./gl.mo': No such file or directory
      /usr/bin/install: cannot stat ./zh_CN.mo': No such file or directory make[2]: *** [install-wxmaxima-catalogs] Error 1 make[2]: Leaving directory/home/dsteinberg/workspace/wxmaxima-code/locales'
      make[1]: [install-am] Error 2
      make[1]: Leaving directory `/home/dsteinberg/workspace/wxmaxima-code/locales'
      make:
      [install-recursive] Error 1

      There are also the following warnings when running ./bootstrap:

      locales/Makefile.am:42: %'-style pattern rules are a GNU make extension locales/Makefile.am:46:%'-style pattern rules are a GNU make extension

      wxmaxima does compile, but running it produces errors:
      - "Can't load image from file..."
      - "wxMaxima could not find tip files. Please check your installation."

      However, this problem does not exist when I download the tarball from wxMaxima and compile from that (without running ./bootstrap).

       
  • Daniel

    Daniel - 2013-08-11

    pbowyer, have you figured out a solution (besides compiling from the tarball, which I mentioned worked for me)?

     
  • Andrej Vodopivec

    Building from git is described in the readme ( cd locales & make allmo )

     

Log in to post a comment.