#186 MGED unable to initialize gui when --program-prefix= is used

open-invalid
Sean Morrison
2
2008-09-30
2008-09-29
No

Hello,

I used --program-prefix=brl- , no compilation error, but:

$ brl-mged
invalid command name "gui"
MGED unable to initialize gui, reverting to classic mode.
attach (nu|X|ogl)[nu]?

If I remove the --program-prefix from ./configure I haven't this issue.

Giuseppe.

Discussion

  • Sean Morrison
    Sean Morrison
    2008-09-30

    • labels: --> Compilation
    • priority: 5 --> 2
    • assigned_to: nobody --> brlcad
    • milestone: --> other bug / workaround
    • status: open --> pending-invalid
     
  • Sean Morrison
    Sean Morrison
    2008-09-30

    Hmm, that's certainly an untested configuration setting and one I would not recommend using regardless. That effectively changes the names of hundreds of binaries and makes them inconsistent with our extensive documentation. That will ultimately be a support burden to document as a special case, to explain to new users, and is inconsistent with all other platforms.

    We could investigate the cause, but that doesn't seem like a productive use of time. Is there a particular reason you needed to use program-prefix? If it's merely for isolation, I would suggest installing to subdirs before resorting to program-prefix.

    Cheers!
    Sean

     
  • Yes, it's merely for isolation. I can install in /var/lib/brlcad , but I have also a couple of man pages that I can't isolate due to Debian policy. For example:

    # dpkg -i brlcad_7.12.6-1_i386.deb
    Selecting previously deselected package brlcad.
    (Reading database ... 171137 files and directories currently installed.)
    Unpacking brlcad (from brlcad_7.12.6-1_i386.deb) ...
    dpkg: error processing brlcad_7.12.6-1_i386.deb (--install):
    trying to overwrite `/usr/share/man/man1/buffer.1.gz',
    which is also in package buffer
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    brlcad_7.12.6-1_i386.deb

     
    • status: pending-invalid --> open-invalid