Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30614 closed defect (invalid)

texlive-bin: simplify X toolkit variants

Reported by: skymoo (Adam Mercer) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc:
Port: texlive-bin

Description (last modified by skymoo (Adam Mercer))

On Lion texlive-bin -motif fails to build with the error:

ld: library not found for -lXmu

installing xorg-libXmu then results in the error:

checking for Xaw headers... yes
checking for SimpleClassPart.extension... yes
checking for XawInitializeWidgetSet in -lXaw... no
checking for XawTextReplace in -lXaw... no
configure: error: Sorry, you will need at least the Xaw header/library files to compile xdvik.

installing xorg-libXaw then results in a successful build.

Change History (9)

comment:1 Changed 13 years ago by skymoo (Adam Mercer)

Description: modified (diff)

comment:2 Changed 13 years ago by drkp (Dan Ports)

You're installing it with -motif only? That's not supported and we should throw a better error. You should have one of +motif, +xaw, +nextaw, +xaw3d, or +no_x11 selected.

...and we should probably simplify those variants; I don't think we really need so many, and +no_x11 probably ought to become -x11 somehow.

comment:3 Changed 13 years ago by drkp (Dan Ports)

I've also been wondering lately whether we should switch the default to Xaw instead of Motif, considering that it's a pretty large dependency and only used for xdvi.

Especially if the openmotif license would prevent us from distributing binaries (I'm not sure what its terms are exactly)

comment:4 in reply to:  3 Changed 13 years ago by skymoo (Adam Mercer)

Replying to dports@…:

I've also been wondering lately whether we should switch the default to Xaw instead of Motif, considering that it's a pretty large dependency and only used for xdvi.

That's the main reason I was using -motif.

comment:5 Changed 13 years ago by drkp (Dan Ports)

Yeah, I'm thinking of ditching nextaw and xaw3d and simplifying it down to:

  • +x11 (selected by default) = Xaw
  • +motif
  • no variants (-x11) = without X support

with maybe a +no_x11 left there for backwards compatibility.

comment:6 Changed 13 years ago by drkp (Dan Ports)

Summary: texlive-bintexlive-bin: simplify X toolkit variants

Simplified the variants in r81856 (on my texlive 2011 branch)

comment:7 Changed 13 years ago by skymoo (Adam Mercer)

Resolution: invalid
Status: newclosed

Looks sensible to me. I'm going to close this ticket out as PEBKAC. Let me know if you want any testers for your texlive 2011 branch.

comment:8 in reply to:  7 Changed 13 years ago by drkp (Dan Ports)

Replying to ram@…:

Let me know if you want any testers for your texlive 2011 branch.

Sure, that'd be great. I think it's in pretty much its final form, so unless a serious problem shows up in testing, I'm likely to commit it in a day or two.

You can check out my branch from http://svn.macports.org/repository/macports/users/dports/ports and put it in your sources.conf. It should upgrade cleanly with port upgrade outdated (let me know if it doesn't!)

comment:9 Changed 13 years ago by skymoo (Adam Mercer)

Upgraded with no issues, and the most complicated document I have (my PhD thesis) compiles without issue.

Note: See TracTickets for help on using tickets.