Thread: More pgsql compile problems on BSDi 3.0

More pgsql compile problems on BSDi 3.0

From
ghoffman@ucsd.edu (Gary Hoffman)
Date:
Following up on my compile problem, I've read the list archives for great
clues and had a good reply from Bruce to last night's query. (I hope
someone turns these hints into an FAQ for BSDi users.)

I've overcome the flex problem by renaming lex and then making a link lex
-> flex.
I also installed bison 1.27 and renamed yacc, making a link yacc -> bison

Now when I run 'gmake all', I get the following error:

-------------
gmake -C bootstrap all
gmake[2]: Entering directory `/usr2/src/pgsql/src/backend/bootstrap'
/usr/bin/yacc -d bootparse.y
grep -v "^#" boot.sed > sedfile
sed -f sedfile < y.tab.c > bootparse.c
cannot open y.tab.c: no such file
gmake[2]: *** [bootparse.c] Error 2
gmake[2]: Leaving directory `/usr2/src/pgsql/src/backend/bootstrap'
gmake[1]: *** [bootstrap.dir] Error 2
gmake[1]: Leaving directory `/usr2/src/pgsql/src/backend'
gmake: *** [all] Error 2
-------------
Of course, the subsequent install fails. Is y.tab.c supposed to be created
by the compile process or did I delete it by cleaning up my previous make?
I've done this several times.

Thanks,
Gary

***************************************************************************
* Gary B. Hoffman, Computing Services Manager  e-mail: ghoffman@ucsd.edu *
* Graduate School of International Relations and Pacific Studies (IR/PS) *
* University of California, San Diego (UCSD)       voice: (619) 534-1989 *
* 9500 Gilman Dr., La Jolla, CA 92093-0519 USA       fax: (619) 534-3939 *
**************************************************************************


Re: [GENERAL] More pgsql compile problems on BSDi 3.0

From
Bruce Momjian
Date:
Try gmake distclean, re-run configure, and see if that helps.  I run
bsdi here, and 6.5 should be better with this.


[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Following up on my compile problem, I've read the list archives for great
> clues and had a good reply from Bruce to last night's query. (I hope
> someone turns these hints into an FAQ for BSDi users.)
>
> I've overcome the flex problem by renaming lex and then making a link lex
> -> flex.
> I also installed bison 1.27 and renamed yacc, making a link yacc -> bison
>
> Now when I run 'gmake all', I get the following error:
>
> -------------
> gmake -C bootstrap all
> gmake[2]: Entering directory `/usr2/src/pgsql/src/backend/bootstrap'
> /usr/bin/yacc -d bootparse.y
> grep -v "^#" boot.sed > sedfile
> sed -f sedfile < y.tab.c > bootparse.c
> cannot open y.tab.c: no such file
> gmake[2]: *** [bootparse.c] Error 2
> gmake[2]: Leaving directory `/usr2/src/pgsql/src/backend/bootstrap'
> gmake[1]: *** [bootstrap.dir] Error 2
> gmake[1]: Leaving directory `/usr2/src/pgsql/src/backend'
> gmake: *** [all] Error 2
> -------------
> Of course, the subsequent install fails. Is y.tab.c supposed to be created
> by the compile process or did I delete it by cleaning up my previous make?
> I've done this several times.
>
> Thanks,
> Gary
>
> ***************************************************************************
> * Gary B. Hoffman, Computing Services Manager  e-mail: ghoffman@ucsd.edu *
> * Graduate School of International Relations and Pacific Studies (IR/PS) *
> * University of California, San Diego (UCSD)       voice: (619) 534-1989 *
> * 9500 Gilman Dr., La Jolla, CA 92093-0519 USA       fax: (619) 534-3939 *
> **************************************************************************
>
>
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026