Menu

Installing in Ubuntu

Help
Peter
2007-08-25
2012-12-07
  • Peter

    Peter - 2007-08-25

    Gerald,

    When I download and configure in Ubuntu I'm getting the following error message...

    checking wxWidgets version... ./configure: line 18690: wx-config: command not found
    not found
    configure: error: wxWidgets is required. Try --with-wx-config.

    But I've got the following packages installed in the Synaptic Package Manager...

    libwxbase2.6-0
    libwxgtk2.6-0
    python-wxgtk2.6
    python-wxversion  (2.6.3.2.1.5ubuntu6)
    wx-common

    $ wx-config
    The program 'wx-config' can be found in the following packages:
    * libwxbase2.6-dbg
    * libwxgtk2.6-dbg
    * libwxbase2.6-dev
    * libwxgtk2.4-dbg
    * libwxgtk2.6-dev
    * libwxgtk2.8-dev
    * libwxbase2.8-dev
    * libwxgtk2.8-dbg
    * libwxbase2.4-dev
    * libwxbase2.4-dbg
    * libwxgtk2.4-dev
    * libwxbase2.8-dbg
    Try: sudo apt-get install <selected package>
    Make sure you have the 'universe' component enabled
    bash: wx-config: command not found

    Any ideas? What does the Try --with-wx-config mean?

    Thanks,
    Peter

     
    • gnschmidt

      gnschmidt - 2007-08-25

      Hi Peter

      Just out of the house right now but will check this asap. I'm using Ubuntu as my main development platform, so we'll definitely get it to work.

      Basically you need all wxGTK Unicode libraries for 2.8.4, but I'll check in detail later today.

      Sorry I can't be of more help right now.

      Regards,
      Gerald

       
    • gnschmidt

      gnschmidt - 2007-08-30

      Peter, have you had any luck with this? If not, you could try one of the precompiled deb archives on getdeb - not sure they're 100% up to date, but they install flawlessly on Ubuntu.

      -Gerald

       
    • Roman Ivanov

      Roman Ivanov - 2008-12-25

      Hi, gnschmidt, I have the same problem with building XML-COPY-EDITOR, could you please so kind to mention exact names of libraries that we have to install beforehand, I am on Xubuntu, and hope libraries are in standard repository.

       
    • Roman Ivanov

      Roman Ivanov - 2008-12-27

      I managed to install XML-COPY-EDITOR, here is the log:

      1. Follow up: http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
      2. run "wx-config --version" and install all libraries that is shown by "sudo apt-get install libwxgtk2.8-dev libwxbase2.8-dev libwxgtk2.8-dbg libwxbase2.8-dbg"
      3. sudo apt-get install libpcre3-dev
      4. sudo apt-get install bcp
      5. Follow up: http://xerces.apache.org/xerces-c/install-3.html#Unix
         I installed/copied Xerces to /usr/share/xerces-c-3.0.0-x86-linux-gcc-3.4/
      6. copy xerces include files to usr/include
        sudo cp -r /usr/share/xerces-c-3.0.0-x86-linux-gcc-3.4/include/xercesc /usr/include
      7. sudo apt-get install libxml2-dev libxslt-dev
      8. sudo cp /usr/share/xerces-c-3.0.0-x86-linux-gcc-3.4/lib/lib* /usr/lib
      9. ./configure
      10. sudo make
      11. sudo make install

       
      • Roman Ivanov

        Roman Ivanov - 2008-12-27

        Steps 1st and changes in .bachrc (5th point) could be omitted. I manage to install it on the another PC without them.

         
    • Anh Trinh

      Anh Trinh - 2009-04-16

      I just installed on Juanty, somehow I cannot get the error icon ( those images in png folder)
      Did I miss something?

       
    • Anh Trinh

      Anh Trinh - 2009-04-16

      found solution, hehe did not read the INSTALL

       
    • Roger Sperberg

      Roger Sperberg - 2009-04-16

      You're right about getdeb.net.  The precompiled version there is 1.2.0.2, from November 2008.

      Usually I wait for the latest version to show up at getdeb before upgrading but you guys have got me all fired up so I think I'll try my hand at building 1.2.0.4 to see what transpires.

      I ran across a shootout of various Ruby interpreters (at Zen and the Art of Programming, http://antoniocangiano.com/2008/12/09/the-great-ruby-shootout-december-2008/ ) from December. Not accounting for every possible parameter or testing every single facet, but still fairly thorough (130 tests).

      What surprised me was that the Ruby built from scratch was way faster than the one gotten from apt-get, which took 1.9 times longer to complete all the tests (eg, almost twice as long).

      Makes me wonder if that is a general trend that applies to lots of software, and specifically whether home-built XMLCE is faster than pre-built.

      However, I don't have any tests to run, so my evaluation will be completely subjective. I'm also still in my first year of running Linux, so I'm sure there are all kinds of things I don't know yet about doing this properly.

      But I'll report back what I learn, if anything.

      Roger Sperberg
      Delighted user of XMLCE since Jan 2007!

       
      • Vadi

        Vadi - 2009-04-16

        For one, keeping track of the hundreds of software available on getdeb is nearly impossible. If the author wants it updated, they're welcome to let us know ;)

        http://wiki.getdeb.net/Software%20scouting

         
    • Roger Sperberg

      Roger Sperberg - 2009-04-16

      Just finished the build and install. No issues at all (following information in this thread, the Install file, and how-to-build information on the wiki (http://xml-copy-editor.wiki.sourceforge.net/ ).

      The properties on XMLCE in /usr/local/bin indicate the file was installed today, and it seems to be running fine. Every file I check has today's date for its creation.

      However, the "About" dialog says the version number is 1.2.0.2, and the copyright says 2005-2008, not -2009.

      If this isn't an oversight by you, Gerald, what other ways can I tell whether I succeeded or am still running the older version?

      Thx,
      Roger
      Ubuntuan since May 2008

       
    • Roger Sperberg

      Roger Sperberg - 2009-04-16

      OK, I see that I have 1.2.0.2 installed in /usr/bin/ and 1.2.0.4 installed in /usr/local/bin/

      I had quickly checked the entry in Ununtu's main menu preferences, and I didn't realize it was pointing to a different folder than I expected, so I inadvertently launched the earlier version.

      Double-clicking on the new version's icon obviously brought up the right XMLCE, with 1.2.0.4 and -2009 correctly showing.

      Now I know to check for this.

      I installed 1.2.0.2 from the .deb I obtained at GetDeb.net. Is that Synaptic or general usage that put the binary in /usr/bin/? And what generally would lead an app to be installed in /usr/local/bin/?

      Thanks for answering my Linux-not-XMLCE question.

      Btw, I saw Vadi's post above, and since I have used GetDeb's versions since last May, I happily posted the "update package" request for XMLCE at Launchpad, so you won't have to do it. The request is at https://bugs.launchpad.net/getdeb.net/+bug/362379

      I would have subscribed you to the bug but your email at users.sourceforge isn't what you use at Launchpad, if you're registered there.

      Thx!

      Roger
      Using make since April 2009!

       
    • gnschmidt

      gnschmidt - 2009-04-17

      Thanks Roger!

      I've added the GetDeb installer to the current release (1.2.0.4).

      Best,
      Gerald

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.