Menu

#63 Configuration error on FreeBSD

unexpected behavior
closed-fixed
7
2007-08-29
2005-12-26
No

Hi again;

While using the FreeBSD port of BRL-CAD 7.6.4, I
noticed the following inconsistencies:

- configure doesnt find itcl/itk even when the I have
updated versions of them installed.
- An optimized release is not built even when providing
--enable-optimized to configure is the default.

Discussion

  • Sean Morrison

    Sean Morrison - 2005-12-29
    • assigned_to: nobody --> erikgreenwald
    • milestone: --> unexpected behavior
    • labels: --> Compilation
    • status: open --> pending
     
  • Sean Morrison

    Sean Morrison - 2005-12-29

    Logged In: YES
    user_id=785737

    There used to be an itcl/itk detection issue before 7.6.4 but it should have
    been resolved. From the look of the configure output log, it's simply taking
    the default configure setting that says to build itcl/itk as it's not been
    extensively tested. If you manually add --disable-itcl-build and --disable-
    itk-build to the configure options (e.g. edit the ports Makefile), that should
    turn them off.

    I wouldn't be surprised is something similar is happening with --enable-
    optimized. According to the configure output, it was forced off via --
    disable-optimized or via not providing --enable-optimized (since non-
    optimized is the default for compilation performance). A quick glance at
    what's in my ports tree indicates this is indeed the case given the
    WITHOUT_OPTIMIZATION makefile logic. Looks like the port maintainer only
    enabled optimized if the architecture is not alpha, sparc64, or amd64 for
    some reason..

    The config.log file in the work dir should shed some light on the issues but I
    suspect it's simply a side effect of the FreeBSD ports build setup and the
    relatively immaturity of the package in FreeBSD ports. Thanks for bringing it
    to attention. I'd recommend filing a separate FreeBSD ports bug here so
    others are aware that track the FreeBSD ports more closely: http://
    www.freebsd.org/send-pr.html

     
  • Pedro F. Giffuni

    • status: pending --> open
     
  • Pedro F. Giffuni

    Logged In: YES
    user_id=678384

    I recently updated itcl to use Tcl/Tk 8.4.x (it used 8.3
    before), I hope BRLCAD does the same.
    Since this is amd64, enable-optimized must be active.

    Erik never replied my private email, so I'll test the new
    release and submit a PR to FreeBSD's ports team with at
    least another cosmetical issue. All in all, the port has
    been evolving very positively though.

     
  • Pedro F. Giffuni

    Logged In: YES
    user_id=678384

    Still no joy on building optimized with 7.6.6 :-(.

     
  • Pedro F. Giffuni

    7.6.6 configure log file

     
  • Pedro F. Giffuni

    Logged In: YES
    user_id=678384

    Here are a couple of other issues for port maintainer
    (Erik), I don't have a solution yet so I haven't sent a PR.

    - after reinstalling the new version there is no
    /usr/local/bin/mged.

    - Symlinking manually, the script mged.sh replies:
    ...
    Unable to find 'lib/tcl8.4' within the BRL-CAD software
    installation.
    This copy of BRL-CAD may not be properly installed.
    _______
    In my wishlist, it would be nice to use SDL too (from the
    corresponding port).

     
  • Erik Greenwald

    Erik Greenwald - 2005-12-30

    Logged In: YES
    user_id=6576

    got the optimized part working, currently working on the itcl/itk part. Will send-
    pr and note the pr url here when done.

     
  • Lee Butler

    Lee Butler - 2006-01-13
    • priority: 5 --> 7
     
  • Erik Greenwald

    Erik Greenwald - 2007-08-29
    • status: open --> closed-fixed
     
  • Erik Greenwald

    Erik Greenwald - 2007-08-29

    Logged In: YES
    user_id=6576
    Originator: NO

    itcl/itk detection works correctly on FreeBSD now. Unfortunately, the port version of itcl and itk currently require tcl/tk 8.4 and BRL-CAD requires 8.5a6. I have PR's in to FreeBSD to update lang/itcl and x11-toolkits/itk and will update cad/brlcad to use them when/if they are accepted. Otherwise, I think I've done all that can be done for this one. Thanks!

     

Log in to post a comment.