SourceForge has been redesigned. Learn more.
Close

Help with SVN build

Help
2009-09-11
2015-12-08
  • Ricardo L. Febrero

    Hello,

    I'm trying to build ktechlab with svn, getting it directly from trunk and configuring, but I'm not able to do so properly.

    The best way I have found is to open the project with Kdevelop and build it. But it does not work perfectly, it gives an error, which I think is caused by misconfiguration of the build.

    What's the easiest way to get your project SVN trunk to configure using standard autotools? Usual things: autoconf, automake, autoheader... don't work.

    Thank you.

     
    • Zoltan P

      Zoltan P - 2009-09-11

      Lazy way: with kdevelop

      Without kdevelop:
      instructions from the "INTALL" file:
      - create configure:
        make -f Makefile.cvs
      - run configure
        ./configure
      - build
        make
      - install (optional ;) )
        make install
      - run from the source:
        src/ktechlab

      Without the error message, I can only guess, what's the problem.

       
  • Ricardo L. Febrero

    Thank you.

    I have tried it, and the strange thing is that it works flawlessly with the second method (autotools), but it doesn't work with Kdevelop. I'm not able to reproduce the error (I get a lot of strange ones instead), maybe you could give it a try.

    Thanks again.

     
  • Zoltan P

    Zoltan P - 2009-09-12

    Ktechlab can be built with kdevelop, because I do it all the time.
    Do you buid it using the commands:

    - build -> run autotools & friends
    - build -> run configure
    - bulld -> build project

    ?

    Anyway, it you don't know C++, it's hard to find the problem.  At least building it works manually.

     
  • Jozef Fusko

    Jozef Fusko - 2009-09-23

    Hy everybody

      i tried compile ktechlab, bad i have this problem:
    in kdevelop :
    …..
    This Makefile is only for the CVS repository
    This will be deleted before making the distribution

    ./admin/cvs.sh: 651: -version: not found

    *** AUTOCONF NOT FOUND!.

    *** KDE requires autoconf 2.53 or newer

    make: ***  Error 1
    make: ***  Error 2
    *** Exited with status: 2 ***

    Next try in shell, showed this:
    root@dodo-toshiba:/home/dodo/ktechlab/svn_pokus/ktechlab/trunk# make -f Makefile.cvs
    This Makefile is only for the CVS repository
    This will be deleted before making the distribution

    ./admin/cvs.sh: 651: -version: not found
    *** AUTOCONF NOT FOUND!.
    *** KDE requires autoconf 2.53 or newer
    make: ***  Error 1
    make: ***  Error 2

    And check the autoconf:
    root@dodo-toshiba:/home/dodo/ktechlab/svn_pokus/ktechlab/trunk# autoconf -V
    autoconf (GNU Autoconf) 2.61
    ….

    Can you help me, where I do mistake.

    thanks dodo

     
  • Zoltan P

    Zoltan P - 2009-09-23

    This is strange:

    > ./admin/cvs.sh: 651: -version: not found

    in SVN, the cvs.sh file on line 651 has nothing related to autoconf. Are you sure the cvs.sh is the same file as the one found in SVN?

     
  • Santiago

    Santiago - 2009-09-30

    Don't know if this is your problem, i ussually have this error:

    ./admin/cvs.sh: 632: ./admin/detect-autoconf.pl: Permission denied
    ./admin/cvs.sh: 651: -version: not found
    *** AUTOCONF NOT FOUND!.
    *** KDE requires autoconf 2.53 or newer
    make: ***  Error 1
    make: ***  Error 2

    I just select all the files in /admin folder and give them execution permissions…

     
  • Zoltan P

    Zoltan P - 2009-09-30

    Well, in SVN some files don't have execute permission. Should be this changed?

     
  • Zoltan P

    Zoltan P - 2009-11-03

    Replying to myself: yes, I managed to reproduce this problem. The permissions must be changed….

     
  • Doug Royer

    Doug Royer - 2015-12-03

    I can't build from SVN or GIT, Autoconf complains no configure.in.

    Can't build from source, becuase it wants QT3.something and ununtu is at QT5.something.

     
    • Zoltan P

      Zoltan P - 2015-12-08

      Hi Doug,

      the latest version of ktechlab is on github, in the branch named "port-0.3.8-kde4-v1":

      https://github.com/ktechlab/ktechlab-0.3/tree/port-0.3.8-kde4-v1

      For compiling it you will need Qt4 and kdelibs4 development packages. For compiling the source, I recommend to use " build-simple.sh " from the source tree, and for running use the " run-simple.sh " scripts.
      I have only tested the build on ubunut 14.04, but newer version should work, as long as they include Qt4 and kdelibs4.

      Have fun,

      Zoltan

       

Log in to post a comment.