Menu

#4 Cannot compile w/o dtrace

2.1.0
closed
ssoberni
None
2019-01-28
2019-01-25
No

Hi!

I get this when trying to compile the 2.1.0 version:

zoran@zoranvbox:~/hg/vmsnapp/src/nsf$ make
dtrace -h -o generic/nsfDTrace.h -s ./generic/nsfDTrace.d
/bin/bash: dtrace: command not found
Makefile:753: recipe for target 'generic/nsfDTrace.h' failed
make: *** [generic/nsfDTrace.h] Error 127

I have run the "configure" w/o any other special directives.
Giving --without-dtrace or --with-dtrace=NO does not change
anything (it still does not compile). Compilation is done on the
latest Linux Ubuntu 18 release.

Thanks!

Related

Tickets: #4

Discussion

  • Zoran Vasiljevic

    I have downloaded the 2.2.0 and it compiles OK w.r.t missing dtrace.
    I guess I will then go to this release.

     
  • ssoberni

    ssoberni - 2019-01-25

    Hi Zoran!

    Thanks for reporting!

    I tried to reproduce the reported issue. I got a fresh Ubuntu 18.10, installed the tcl and tcl-dev packages, obtained the nsf2.1.0.tar.gz tarball, unpacked it into a directory "nsf2.1.0". From therein:

    root@78ad7135e7eb:~/nsf2.1.0# ./configure
    root@78ad7135e7eb:~/nsf2.1.0# make
    root@78ad7135e7eb:~/nsf2.1.0# make test

    This yields:

    Regression Test Summary of NX+XOTcl:
    Environment: Tcl 8.6.8, OS Linux 4.9.125-linuxkit machine x86_64 threaded 1.
    NSF 2.1.0 (commit 2.1.0) performed 5895 tests in 55 files, success 5895, failures 0 in 6.829 seconds
    Congratulations, all tests of NX+XOTcl passed in your installation of NSF 2.1.0 (commit 2.1.0)

    Can you tell us more about your setup?

    Are you aware that NSF comes packaged in Ubuntu/ Debian?

    root@78ad7135e7eb:~/nsf2.1.0# apt-cache show nsf
    Package: nsf
    Architecture: amd64
    Version: 2.1.0-4
    Priority: optional
    Section: universe/libs
    Origin: Ubuntu
    Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com
    Original-Maintainer: Tcl/Tk Debian Packagers pkg-tcltk-devel@lists.alioth.debian.org
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 891
    Depends: tcl (>= 8.5), libc6 (>= 2.14)
    Suggests: nsf-shells
    Filename: pool/universe/n/nsf/nsf_2.1.0-4_amd64.deb
    Size: 311670
    MD5sum: 9194b673b5266e4c32560acf7324dcfd
    SHA1: 7098d76912b80c9bbee7ae55761a36ec2b26c0ed
    SHA256: a6e46dfdac57c5fc50856e43eae2d28883695aeb85407e314c83aae6cf6bd53b
    Homepage: https://next-scripting.org/
    Description: Next Scripting Framework (NSF): Object orientation for Tcl - shared library
    Description-md5: 3e3d95eda40cf35b06257033748535a5

    Cheers, Stefan

     
    • Zoran Vasiljevic

      On Fri, 25 Jan 2019 22:54:18 -0000
      "ssoberni" foxcruiser@users.sourceforge.net wrote:

      Hi Zoran!

      Thanks for reporting!

      I tried to reproduce the reported issue. I got a fresh Ubuntu 18.10,
      installed the tcl and tcl-dev packages, obtained the nsf2.1.0.tar.gz
      tarball, unpacked it into a directory "nsf2.1.0". From therein:

      root@78ad7135e7eb:~/nsf2.1.0# ./configure
      root@78ad7135e7eb:~/nsf2.1.0# make
      root@78ad7135e7eb:~/nsf2.1.0# make test

      Interesting... I do not really know what is happening.
      After I switching to 2.2.0 things start to work. If I get
      the 2.1.0 fresh from the distro, it compiles OK as well.
      However my old(er) copy does not any more (after doing
      the make distclean)...

      Probably something is wrong with the old distro...

      I guess you are "clean" and the problem lies on our side.
      Nevertheless I will simply upgrade to 2.2.0 for our code
      as this seems to work. I hope there will be no problems
      with that...

      You can close this ticket, I believe. And many thanks
      for your instant response!

      Cheers
      Zoran

      This yields:

      Regression Test Summary of NX+XOTcl:
      Environment: Tcl 8.6.8, OS Linux 4.9.125-linuxkit machine
      x86_64 threaded 1. NSF 2.1.0 (commit 2.1.0) performed 5895 tests in
      55 files, success 5895, failures 0 in 6.829 seconds Congratulations,
      all tests of NX+XOTcl passed in your installation of NSF 2.1.0
      (commit 2.1.0) Can you tell us more about your setup?

      Are you aware that NSF comes packaged in Ubuntu/ Debian?

      root@78ad7135e7eb:~/nsf2.1.0# apt-cache show nsf
      Package: nsf
      Architecture: amd64
      Version: 2.1.0-4
      Priority: optional
      Section: universe/libs
      Origin: Ubuntu
      Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com
      Original-Maintainer: Tcl/Tk Debian Packagers
      pkg-tcltk-devel@lists.alioth.debian.org Bugs:
      https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 891
      Depends: tcl (>= 8.5), libc6 (>= 2.14)
      Suggests: nsf-shells
      Filename: pool/universe/n/nsf/nsf_2.1.0-4_amd64.deb
      Size: 311670
      MD5sum: 9194b673b5266e4c32560acf7324dcfd
      SHA1: 7098d76912b80c9bbee7ae55761a36ec2b26c0ed
      SHA256:
      a6e46dfdac57c5fc50856e43eae2d28883695aeb85407e314c83aae6cf6bd53b
      Homepage: https://next-scripting.org/ Description: Next Scripting
      Framework (NSF): Object orientation for Tcl - shared library
      Description-md5: 3e3d95eda40cf35b06257033748535a5

      Cheers, Stefan


      [tickets:#4] Cannot compile w/o dtrace

      Status: open
      Milestone: 2.1.0
      Created: Fri Jan 25, 2019 05:33 PM UTC by Zoran Vasiljevic
      Last Updated: Fri Jan 25, 2019 05:48 PM UTC
      Owner: nobody

      Hi!

      I get this when trying to compile the 2.1.0 version:

      zoran@zoranvbox:~/hg/vmsnapp/src/nsf$ make
      dtrace -h -o generic/nsfDTrace.h -s ./generic/nsfDTrace.d
      /bin/bash: dtrace: command not found
      Makefile:753: recipe for target 'generic/nsfDTrace.h' failed
      make: *** [generic/nsfDTrace.h] Error 127

      I have run the "configure" w/o any other special directives.
      Giving --without-dtrace or --with-dtrace=NO does not change
      anything (it still does not compile). Compilation is done on the
      latest Linux Ubuntu 18 release.

      Thanks!


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/next-scripting/tickets/4/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #4

  • Zoran Vasiljevic

    On Mon, 28 Jan 2019 11:44:51 +0100
    Gustaf Neumann neumann@wu.ac.at wrote:

    maybe a leftover from an earlier "configure" with DTrace enabled.
    2.2.0 is anyhow recommended and safe to use, it is more future proof,
    we use this as well in our live instances.

    yes, most probably something along those lines...
    right, nsf2.2.0 seems to be running fine.

     
  • ssoberni

    ssoberni - 2019-01-28
    • status: open --> closed
    • assigned_to: ssoberni
     

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.