Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2001 06:01:24 -0800 (PST)
From:      a.genkin@utoronto.ca
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/24020: teTeX port doesn't build with no X installed
Message-ID:  <200101021401.f02E1OD54602@freefall.freebsd.org>
Resent-Message-ID: <200101021410.f02EA2E57423@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24020
>Category:       ports
>Synopsis:       teTeX port doesn't build with no X installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 02 06:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Arcady Genkin
>Release:        4.2-S
>Organization:
thpoon.com
>Environment:
FreeBSD soup.thpoon.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Dec 22 19:19:19 EST 2000     root@soup.thpoon.com:/usr/obj/usr/src/sys/SOUP  i386
>Description:
Compilation of teTeX fails at the point of compiling file x11.c on a computer with no X11 installed.  Reason -- X11lib.h missing.

cc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..   -O2 -pipe -mpentium  -c x11.c
x11.c:19: X11/Xlib.h: No such file or directory
x11.c:20: X11/Intrinsic.h: No such file or directory
x11.c:21: X11/StringDefs.h: No such file or directory
x11.c:29: syntax error before `*'
x11.c:29: warning: data definition has no type or storage class
x11.c:30: syntax error before `mf_window'
x11.c:30: warning: data definition has no type or storage class
x11.c:32: syntax error before `mf_pixmap'
x11.c:32: warning: data definition has no type or storage class
x11.c:34: syntax error before `mf_app'
x11.c:34: warning: data definition has no type or storage class
x11.c:36: syntax error before `mf_dgc'
x11.c:36: warning: data definition has no type or storage class
x11.c:37: syntax error before `mf_egc'
x11.c:37: warning: data definition has no type or storage class
x11.c:38: syntax error before `mf_cgc'
x11.c:38: warning: data definition has no type or storage class
x11.c:43: syntax error before `Pixel'
x11.c:50: syntax error before `mf_mapped'
x11.c:50: warning: data definition has no type or storage class
x11.c:59: syntax error before `mf_resources'
x11.c:60: warning: braces around scalar initializer
x11.c:60: warning: (near initialization for `mf_resources[0]')
x11.c:60: warning: initialization makes integer from pointer without a cast
x11.c:60: warning: excess elements in scalar initializer
x11.c:60: warning: (near initialization for `mf_resources[0]')
x11.c:60: `XtRInt' undeclared here (not in a function)
x11.c:60: warning: excess elements in scalar initializer
x11.c:60: warning: (near initialization for `mf_resources[0]')
x11.c:60: warning: excess elements in scalar initializer
x11.c:60: warning: (near initialization for `mf_resources[0]')
x11.c:61: syntax error before `mf_resources_struct'
x11.c:61: `XtRInt' undeclared here (not in a function)
x11.c:61: warning: excess elements in scalar initializer
x11.c:61: warning: (near initialization for `mf_resources[0]')
x11.c:62: `XtPointer' undeclared here (not in a function)
x11.c:62: warning: excess elements in scalar initializer
x11.c:62: warning: (near initialization for `mf_resources[0]')
x11.c:64: warning: braces around scalar initializer
x11.c:64: warning: (near initialization for `mf_resources[1]')
x11.c:64: warning: initialization makes integer from pointer without a cast
x11.c:64: warning: excess elements in scalar initializer
x11.c:64: warning: (near initialization for `mf_resources[1]')
x11.c:64: `XtRInt' undeclared here (not in a function)
x11.c:64: warning: excess elements in scalar initializer
x11.c:64: warning: (near initialization for `mf_resources[1]')
x11.c:64: warning: excess elements in scalar initializer
x11.c:64: warning: (near initialization for `mf_resources[1]')
x11.c:65: syntax error before `mf_resources_struct'
x11.c:65: `XtRInt' undeclared here (not in a function)
x11.c:65: warning: excess elements in scalar initializer
x11.c:65: warning: (near initialization for `mf_resources[1]')
x11.c:66: `XtPointer' undeclared here (not in a function)
x11.c:66: warning: excess elements in scalar initializer
x11.c:66: warning: (near initialization for `mf_resources[1]')
x11.c:68: warning: braces around scalar initializer
x11.c:68: warning: (near initialization for `mf_resources[2]')
x11.c:68: warning: initialization makes integer from pointer without a cast
x11.c:68: warning: excess elements in scalar initializer
x11.c:68: warning: (near initialization for `mf_resources[2]')
x11.c:68: `XtRPixel' undeclared here (not in a function)
x11.c:68: warning: excess elements in scalar initializer
x11.c:68: warning: (near initialization for `mf_resources[2]')
x11.c:68: `Pixel' undeclared here (not in a function)
x11.c:68: warning: excess elements in scalar initializer
x11.c:68: warning: (near initialization for `mf_resources[2]')
x11.c:69: syntax error before `mf_resources_struct'
x11.c:70: `XtRString' undeclared here (not in a function)
x11.c:70: warning: excess elements in scalar initializer
x11.c:70: warning: (near initialization for `mf_resources[2]')
x11.c:70: `XtPointer' undeclared here (not in a function)
x11.c:70: syntax error before string constant
x11.c:72: warning: braces around scalar initializer
x11.c:72: warning: (near initialization for `mf_resources[3]')
x11.c:72: warning: initialization makes integer from pointer without a cast
x11.c:72: warning: excess elements in scalar initializer
x11.c:72: warning: (near initialization for `mf_resources[3]')
x11.c:72: `XtRPixel' undeclared here (not in a function)
x11.c:72: warning: excess elements in scalar initializer
x11.c:72: warning: (near initialization for `mf_resources[3]')
x11.c:72: `Pixel' undeclared here (not in a function)
x11.c:72: warning: excess elements in scalar initializer
x11.c:72: warning: (near initialization for `mf_resources[3]')
x11.c:73: syntax error before `mf_resources_struct'
x11.c:73: `XtRString' undeclared here (not in a function)
x11.c:73: warning: excess elements in scalar initializer
x11.c:73: warning: (near initialization for `mf_resources[3]')
x11.c:74: `XtPointer' undeclared here (not in a function)
x11.c:73: `XtRString' undeclared here (not in a function)
x11.c:73: warning: excess elements in scalar initializer
x11.c:73: warning: (near initialization for `mf_resources[3]')
x11.c:74: `XtPointer' undeclared here (not in a function)
x11.c:74: syntax error before string constant
x11.c:75: warning: data definition has no type or storage class
x11.c:79: syntax error before `mf_optiondesclist'
x11.c:80: warning: braces around scalar initializer
x11.c:80: warning: (near initialization for `mf_optiondesclist[0]')
x11.c:80: warning: initialization makes integer from pointer without a cast
x11.c:80: warning: excess elements in scalar initializer
x11.c:80: warning: (near initialization for `mf_optiondesclist[0]')
x11.c:80: `XrmoptionSepArg' undeclared here (not in a function)
x11.c:80: warning: excess elements in scalar initializer
x11.c:80: warning: (near initialization for `mf_optiondesclist[0]')
x11.c:80: `XtPointer' undeclared here (not in a function)
x11.c:80: syntax error before `0'
x11.c:81: warning: braces around scalar initializer
x11.c:81: warning: (near initialization for `mf_optiondesclist[1]')
x11.c:81: warning: initialization makes integer from pointer without a cast
x11.c:81: warning: excess elements in scalar initializer
x11.c:81: warning: (near initialization for `mf_optiondesclist[1]')
x11.c:81: `XrmoptionSepArg' undeclared here (not in a function)
x11.c:81: warning: excess elements in scalar initializer
x11.c:81: warning: (near initialization for `mf_optiondesclist[1]')
x11.c:81: `XtPointer' undeclared here (not in a function)
x11.c:81: syntax error before `0'
x11.c:82: warning: braces around scalar initializer
x11.c:82: warning: (near initialization for `mf_optiondesclist[2]')
x11.c:82: warning: initialization makes integer from pointer without a cast
x11.c:82: warning: excess elements in scalar initializer
x11.c:82: warning: (near initialization for `mf_optiondesclist[2]')
x11.c:82: `XrmoptionSepArg' undeclared here (not in a function)
x11.c:82: warning: excess elements in scalar initializer
x11.c:82: warning: (near initialization for `mf_optiondesclist[2]')
x11.c:82: `XtPointer' undeclared here (not in a function)
x11.c:82: syntax error before `0'
x11.c:83: warning: braces around scalar initializer
x11.c:83: warning: (near initialization for `mf_optiondesclist[3]')
x11.c:83: warning: initialization makes integer from pointer without a cast
x11.c:83: warning: excess elements in scalar initializer
x11.c:83: warning: (near initialization for `mf_optiondesclist[3]')
x11.c:83: `XrmoptionSepArg' undeclared here (not in a function)
x11.c:83: warning: excess elements in scalar initializer
x11.c:83: warning: (near initialization for `mf_optiondesclist[3]')
x11.c:83: `XtPointer' undeclared here (not in a function)
x11.c:83: syntax error before `0'
x11.c:84: warning: data definition has no type or storage class
x11.c: In function `mf_x11_initscreen':
x11.c:97: syntax error before `xwa'
x11.c:109: `mf_toplevel' undeclared (first use in this function)
x11.c:109: (Each undeclared identifier is reported only once
x11.c:109: for each function it appears in.)
x11.c:114: `XtPointer' undeclared (first use in this function)
x11.c:131: `mf_canvas' undeclared (first use in this function)
x11.c:131: `widgetClass' undeclared (first use in this function)
x11.c:134: `args' undeclared (first use in this function)
x11.c:134: `XtNwidth' undeclared (first use in this function)
x11.c:136: `XtNheight' undeclared (first use in this function)
x11.c:142: `Cardinal' undeclared (first use in this function)
x11.c:142: syntax error before `ExposureMask'
x11.c:144: syntax error before `StructureNotifyMask'
x11.c:149: warning: assignment makes pointer from integer without a cast
x11.c:156: `xwa' undeclared (first use in this function)
x11.c:156: `Always' undeclared (first use in this function)
x11.c:157: `True' undeclared (first use in this function)
x11.c:159: `CWBackingStore' undeclared (first use in this function)
x11.c:159: `CWSaveUnder' undeclared (first use in this function)
x11.c:161: `gcv' undeclared (first use in this function)
x11.c:161: structure has no member named `mf_bg'
x11.c:162: structure has no member named `mf_fg'
x11.c:163: `GXcopy' undeclared (first use in this function)
x11.c:167: `GCForeground' undeclared (first use in this function)
x11.c:167: `GCBackground' undeclared (first use in this function)
x11.c:167: `GCFunction' undeclared (first use in this function)
x11.c: In function `mf_x11_paintrow':
x11.c:208: syntax error before `gc'
x11.c:211: `gc' undeclared (first use in this function)
x11.c: In function `mf_events':
x11.c:255: syntax error before `event'
x11.c:261: `event' undeclared (first use in this function)
x11.c: In function `mf_newpixmap':
x11.c:271: syntax error before `gcv'
x11.c:280: `newpixmap' undeclared (first use in this function)
x11.c:282: `gcv' undeclared (first use in this function)
x11.c:291: `GCForeground' undeclared (first use in this function)
x11.c:291: `GCBackground' undeclared (first use in this function)
x11.c:291: `GCLineWidth' undeclared (first use in this function)
x11.c: At top level:
x11.c:320: syntax error before `Widget'
x11.c:321: warning: data definition has no type or storage class
x11.c:322: syntax error before `*'
x11.c:322: warning: data definition has no type or storage class
x11.c:323: syntax error before `{'
x11.c:89: warning: `mf_redraw' used but never defined
gmake[3]: *** [x11.o] Error 1
gmake[3]: Leaving directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk/web2c/window'
gmake[2]: *** [window/window.a] Error 2
gmake[2]: Leaving directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk/web2c'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/print/teTeX/work/teTeX-1.0/texk'
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/print/teTeX.
*** Error code 1

Stop in /usr/ports/print/teTeX.
*** Error code 1

Stop in /usr/ports/print/teTeX.
>How-To-Repeat:
On a computer with no X11 libraries installed:
cd /usr/ports/print/teTeX
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101021401.f02E1OD54602>