pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: can't compile anymore / Syntax error: word unexpected (expecting ")")
Roland
Thanks for your assistance! Can I pay you a fee or make a donation?
> -----Original Message-----
> From: Roland Illig [mailto:rillig%NetBSD.org@localhost]
> Sent: Thursday, October 26, 2006 7:04 PM
> To: Thomas Feddersen
> Cc: pkgsrc-users%netbsd.org@localhost
> Subject: Re: can't compile anymore / Syntax error: word
> unexpected (expecting ")")
>
>
> The *.out file you sent me contains a line that starts with
>
> > *** Error
>
> The error message came from the shell, so the cause is usually the
> command directly above that line. In your case, this is:
>
> > case /usr/pkg in ) buildlink_dir="..." ;;
>
> This information is useful to see which code is executed. So I did a
> "grep -wr buildlink_dir $pkgsrcdir/mk",
Got it. Just for my education: what lets you know, that "buildlink_dir" is
the problem, not any other part of the remainder of the line?
<snip>
Okay
> The next question is: Why is that variable empty?
>
> "make help topic=X11BASE" does not return anything useful in
> this case. "grep -wrl X11BASE $pkgsrcdir/doc/guide" returns
> some matches, so let's
> look them up.
How am I supposed to read XML-Documents?
<snip>
> bsd.prefs.mk contains some
> default values for variables that are _not_ user-settable. The
> definition depends on the X11_TYPE variable. Please run "make
> show-vars
> VARNAMES='X11_TYPE X11_BASE'" to show the values of these variables.
Here you are:
Bremen: {11} make show-vars VARNAMES='X11_TYPE X11_BASE'
XFree86
Bremen: {12}
As a matter of fact, variable X11_BASE is empty or undefined.
I worked around the problem with
Bremen: {43} setenv X11_BASE X11R6
Bremen: {44} env
USER=fed
<snip>
SU_FROM=fed
X11BASE=X11R6
Then the package compiled and installed okay.
But I certainly would like to know, how to set / restore the missing
variable.
I recall, last thing I tried before this problem, I wanted to use xdiskusage
(http://xdiskusage.sourceforge.net/) but had to install the fltk-library
(http://www.fltk.org/) first. That install failed, because my XF86-files
were out of date and I don't know how to update - XF86 is a set, not a
package. Maybe the variable X11_BASE got lost / deleted during that
disrupted installation.
Regards
Thomas
Home |
Main Index |
Thread Index |
Old Index