Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14253 closed defect (worksforme)

texlive_base fails to build on Leopard 10.5.1

Reported by: jean-philippe.humbert@… Owned by: milosh@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: milosh@…
Port:

Description (last modified by jmpp@…)

--->  Building texlive_base with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2
Command output: help-window.c:91: error: 'XmNtopAttachment' undeclared (first use in this function)
help-window.c:91: error: 'XmATTACH_FORM' undeclared (first use in this function)
help-window.c:91: warning: left-hand operand of comma expression has no effect
help-window.c:94: error: 'XmNleftAttachment' undeclared (first use in this function)
help-window.c:94: warning: left-hand operand of comma expression has no effect
help-window.c:95: error: 'XmNrightAttachment' undeclared (first use in this function)
help-window.c:95: warning: left-hand operand of comma expression has no effect
help-window.c:96: error: 'XmNbottomAttachment' undeclared (first use in this function)
help-window.c:96: warning: left-hand operand of comma expression has no effect
help-window.c:97: error: 'XmNscrollingPolicy' undeclared (first use in this function)
help-window.c:97: error: 'XmAUTOMATIC' undeclared (first use in this function)
help-window.c:97: warning: left-hand operand of comma expression has no effect
help-window.c:98: error: 'XmNscrollBarDisplayPolicy' undeclared (first use in this function)
help-window.c:98: error: 'XmAS_NEEDED' undeclared (first use in this function)
help-window.c:98: warning: left-hand operand of comma expression has no effect
help-window.c:100: warning: implicit declaration of function 'XmCreateScrolledText'
help-window.c:100: warning: assignment makes pointer from integer without a cast
help-window.c: In function 'init_item':
help-window.c:205: error: 'xmFormWidgetClass' undeclared (first use in this function)
help-window.c:206: error: 'XmNtopAttachment' undeclared (first use in this function)
help-window.c:206: error: 'XmATTACH_FORM' undeclared (first use in this function)
help-window.c:207: error: 'XmNleftAttachment' undeclared (first use in this function)
help-window.c:208: error: 'XmNrightAttachment' undeclared (first use in this function)
help-window.c:209: error: 'XmNbottomAttachment' undeclared (first use in this function)
help-window.c: In function 'initialize_items':
help-window.c:296: error: 'XmVERSION_STRING' undeclared (first use in this function)
make[3]: *** [help-window.o] Error 1
make[2]: *** [libguibuild] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1

Error: The following dependencies failed to build: texlive_base texlive_texmf-full
--->  Building texlive_base with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2
Command output: help-window.c:91: error: 'XmNtopAttachment' undeclared (first use in this function)
help-window.c:91: error: 'XmATTACH_FORM' undeclared (first use in this function)
help-window.c:91: warning: left-hand operand of comma expression has no effect
help-window.c:94: error: 'XmNleftAttachment' undeclared (first use in this function)
help-window.c:94: warning: left-hand operand of comma expression has no effect
help-window.c:95: error: 'XmNrightAttachment' undeclared (first use in this function)
help-window.c:95: warning: left-hand operand of comma expression has no effect
help-window.c:96: error: 'XmNbottomAttachment' undeclared (first use in this function)
help-window.c:96: warning: left-hand operand of comma expression has no effect
help-window.c:97: error: 'XmNscrollingPolicy' undeclared (first use in this function)
help-window.c:97: error: 'XmAUTOMATIC' undeclared (first use in this function)
help-window.c:97: warning: left-hand operand of comma expression has no effect
help-window.c:98: error: 'XmNscrollBarDisplayPolicy' undeclared (first use in this function)
help-window.c:98: error: 'XmAS_NEEDED' undeclared (first use in this function)
help-window.c:98: warning: left-hand operand of comma expression has no effect
help-window.c:100: warning: implicit declaration of function 'XmCreateScrolledText'
help-window.c:100: warning: assignment makes pointer from integer without a cast
help-window.c: In function 'init_item':
help-window.c:205: error: 'xmFormWidgetClass' undeclared (first use in this function)
help-window.c:206: error: 'XmNtopAttachment' undeclared (first use in this function)
help-window.c:206: error: 'XmATTACH_FORM' undeclared (first use in this function)
help-window.c:207: error: 'XmNleftAttachment' undeclared (first use in this function)
help-window.c:208: error: 'XmNrightAttachment' undeclared (first use in this function)
help-window.c:209: error: 'XmNbottomAttachment' undeclared (first use in this function)
help-window.c: In function 'initialize_items':
help-window.c:296: error: 'XmVERSION_STRING' undeclared (first use in this function)
make[3]: *** [help-window.o] Error 1
make[2]: *** [libguibuild] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1

--->  Building texlive_base with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2
Command output: help-window.c:91: error: 'XmNtopAttachment' undeclared (first use in this function)
help-window.c:91: error: 'XmATTACH_FORM' undeclared (first use in this function)
help-window.c:91: warning: left-hand operand of comma expression has no effect
help-window.c:94: error: 'XmNleftAttachment' undeclared (first use in this function)
help-window.c:94: warning: left-hand operand of comma expression has no effect
help-window.c:95: error: 'XmNrightAttachment' undeclared (first use in this function)
help-window.c:95: warning: left-hand operand of comma expression has no effect
help-window.c:96: error: 'XmNbottomAttachment' undeclared (first use in this function)
help-window.c:96: warning: left-hand operand of comma expression has no effect
help-window.c:97: error: 'XmNscrollingPolicy' undeclared (first use in this function)
help-window.c:97: error: 'XmAUTOMATIC' undeclared (first use in this function)
help-window.c:97: warning: left-hand operand of comma expression has no effect
help-window.c:98: error: 'XmNscrollBarDisplayPolicy' undeclared (first use in this function)
help-window.c:98: error: 'XmAS_NEEDED' undeclared (first use in this function)
help-window.c:98: warning: left-hand operand of comma expression has no effect
help-window.c:100: warning: implicit declaration of function 'XmCreateScrolledText'
help-window.c:100: warning: assignment makes pointer from integer without a cast
help-window.c: In function 'init_item':
help-window.c:205: error: 'xmFormWidgetClass' undeclared (first use in this function)
help-window.c:206: error: 'XmNtopAttachment' undeclared (first use in this function)
help-window.c:206: error: 'XmATTACH_FORM' undeclared (first use in this function)
help-window.c:207: error: 'XmNleftAttachment' undeclared (first use in this function)
help-window.c:208: error: 'XmNrightAttachment' undeclared (first use in this function)
help-window.c:209: error: 'XmNbottomAttachment' undeclared (first use in this function)
help-window.c: In function 'initialize_items':
help-window.c:296: error: 'XmVERSION_STRING' undeclared (first use in this function)
make[3]: *** [help-window.o] Error 1
make[2]: *** [libguibuild] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1

Error: The following dependencies failed to build: texlive_base
Jph@Christel/~ % 

Change History (10)

comment:1 Changed 16 years ago by milosh@…

Owner: changed from macports-tickets@… to milosh@…
Status: newassigned

texlive_base in fact depends on X11. You shoud install it and the X11 SDK to build correctly.

comment:2 Changed 16 years ago by jean-philippe.humbert@…

I have installed X11 and the X11 SDK. Can you tell me which file is missing/incorrect? So that I can troubleshoot my installtion. thanks

Jph

comment:3 Changed 16 years ago by milosh@…

Strange then, It installed correctly on my mac with a brand new installation of leopard and xcode. I can't verify at the moment, but do you have a libXm file provided by the X11 SDK? Do you have openmotif (or maybe lesstif) installed through macports? Maybe a "--with-xdvi-x-toolkit=xaw" configure arg, things would go smoother.

comment:4 Changed 16 years ago by jean-philippe.humbert@…

I have tried to look at libXm* in the directory /usr. That´s what I have: /usr/X11/lib/libXmu.6.2.0.dylib /usr/X11/lib/libXmu.6.dylib /usr/X11/lib/libXmu.dylib /usr/X11/lib/libXmu.la /usr/X11/lib/libXmuu.1.0.0.dylib /usr/X11/lib/libXmuu.1.dylib /usr/X11/lib/libXmuu.dylib /usr/X11/lib/libXmuu.la /usr/X11R6 1/lib/libXm.2.0.1.dylib /usr/X11R6 1/lib/libXm.2.dylib /usr/X11R6 1/lib/libXm.dylib /usr/X11R6 1/lib/libXm.la /usr/X11R6 1/lib/libXmu.a /usr/X11R6 1/lib/libXmuu.a

But the name of "X11R6 1" with a space in it is strange...

comment:5 Changed 16 years ago by coreymon77@…

i can confirm that this also happens to me on 10.5.2. i have all the required things (xcode and x11 sdk) installed. i get that same error

comment:6 Changed 16 years ago by jmpp@…

Description: modified (diff)
Milestone: Port Bugs

comment:7 Changed 16 years ago by bcbarnes@…

I successfully installed the following on Intel 10.5.2, Macports 1.6.0:

texlive                        @2007           tex/texlive
texlive_base                   @2007           tex/texlive_base
texlive_texmf-full             @2007           tex/texlive_texmf-full
texlive_texmf-minimal          @2007           tex/texlive_texmf-minimal

I had previously installed grace, which installs openmotif as a dependency. I don't know if that makes a difference, but milosh mentions openmotif above. I also checked my X11R6 paths, and there were no strange spaces as observed by jean-philippe. My X11 comes from the Leopard disc, then an upgrade to 10.5.2, then an install of Xquartz 2.1.4 (before Macports).

comment:8 Changed 16 years ago by febeling (Florian Ebeling)

Ticket #13396 describes a similar problem, and it was caused by a "/usr/X11R6 1" directory, which is suspected to be a leftover from a dodgy installer which renames an existing to this path including the space. I deleted this directory-with-space and now everything builds correctly. Hopefully this was it.

comment:9 Changed 16 years ago by milosh@…

Resolution: worksforme
Status: assignedclosed

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.