Error during bison1.35 building

View: New views
6 Messages — Rating Filter:   Alert me  

Error during bison1.35 building

by Tatiana Lazareva :: Rate this Message:

| View Threaded | Show Only this Message

Hi all,
I try to build bison-1.35 on sparc Solaris 10. Configure was successfully
performed, but I can not compile that because of the following error:
Making all in po
rm -f de.gmo && : -c --statistics -o de.gmo de.po
mv: cannot access t-de.gmo
*** Error code 2
The following command caused the error:
lang=`echo de | sed -e 's,.*/,,'`; \
test "." = . && cdcmd="" || cdcmd="cd . && "; \
echo "${cdcmd}rm -f ${lang}.gmo && : -c --statistics -o ${lang}.gmo ${lang}.po";
\
cd . && rm -f ${lang}.gmo && : -c --statistics -o t-${lang}.gmo ${lang}.po && mv
t-${lang}.gmo ${lang}.gmo
make: Fatal error: Command failed for target `de.gmo'
Current working directory /home/yumanova/bison/bison-1.35/po
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='config intl po lib src doc m4 tests'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/yumanova/bison/bison-1.35
*** Error code 1
make: Fatal error: Command failed for target `all'

How can I resolve this problem?


_______________________________________________
help-bison@... https://lists.gnu.org/mailman/listinfo/help-bison

Re: Error during bison1.35 building

by Hans Aberg-2 :: Rate this Message:

| View Threaded | Show Only this Message

On 13 Oct 2011, at 12:03, Tatiana wrote:

> I try to build bison-1.35 on sparc Solaris 10.
...
> How can I resolve this problem?

Try latest Bison 2.5 and make sure to have M4 as well, because it is used to process the skeleton files.

Hans



_______________________________________________
help-bison@... https://lists.gnu.org/mailman/listinfo/help-bison

Re: Error during bison1.35 building

by Joel E. Denny-5 :: Rate this Message:

| View Threaded | Show Only this Message

On Thu, 13 Oct 2011, Tatiana wrote:

> I try to build bison-1.35 on sparc Solaris 10. Configure was successfully
> performed, but I can not compile that because of the following error:

> How can I resolve this problem?

Try Bison 2.5.  Bison 1.35 is almost 10 years old.

_______________________________________________
help-bison@... https://lists.gnu.org/mailman/listinfo/help-bison

Parent Message unknown Re: Error during bison1.35 building

by Hans Aberg-2 :: Rate this Message:

| View Threaded | Show Only this Message

[PLease cc the Help-Bison list, so others can follow the issue.]

On 13 Oct 2011, at 13:14, Tatiana Lazareva wrote:

> Thank you, Hans!
> I found BISON package of 1.35 version and 2.5 version for my platform and both of them were successfully installed.
> Could your please clear what is M4? Do I need install it if I already installed bison package?

Bison calls the macro program M4 to make the parser source files. See the links below.

Hans


http://www.gnu.org/software/bison/
http://www.gnu.org/software/m4/
http://ftp.gnu.org/gnu/bison/
http://ftp.gnu.org/gnu/m4/




_______________________________________________
help-bison@... https://lists.gnu.org/mailman/listinfo/help-bison

Re: Error during bison1.35 building

by Tatiana Lazareva :: Rate this Message:

| View Threaded | Show Only this Message

Thank you, Hans!!!

2011/10/13 Hans Aberg <haberg-1@...>

> [PLease cc the Help-Bison list, so others can follow the issue.]
>
> On 13 Oct 2011, at 13:14, Tatiana Lazareva wrote:
>
> > Thank you, Hans!
> > I found BISON package of 1.35 version and 2.5 version for my platform and
> both of them were successfully installed.
> > Could your please clear what is M4? Do I need install it if I already
> installed bison package?
>
> Bison calls the macro program M4 to make the parser source files. See the
> links below.
>
> Hans
>
>
> http://www.gnu.org/software/bison/
> http://www.gnu.org/software/m4/
> http://ftp.gnu.org/gnu/bison/
> http://ftp.gnu.org/gnu/m4/
>
>
>
>


--

Cheers,

*T*atiana *L*azareva**

e-mail (regular): *Tatiana.Alexandrovna.Lazareva@...*

e-mail (office): *yumanova@...*
_______________________________________________
help-bison@... https://lists.gnu.org/mailman/listinfo/help-bison

Re: Error during bison1.35 building

by Hans Aberg-2 :: Rate this Message:

| View Threaded | Show Only this Message

On 13 Oct 2011, at 14:45, Tatiana Lazareva wrote:

> Thank you, Hans!!!

You are welcome.

Hans



_______________________________________________
help-bison@... https://lists.gnu.org/mailman/listinfo/help-bison