Thread

  1. gmake: *** [all] Error 2

    FRANCOIS <corageou@lapp.in2p3.fr> — 1999-03-10T15:44:32Z

    on Solaris 2.5.1
    Cc: corageou@lapp
    Mime-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Content-MD5: KhPvuTaTKTuxSeHG2Ky8bA==
    
    Hello
    
    J want compile postgresql-6.4.2 on my solaris 2.5.1
    
    SunOS 5.5.1 sun4u sparc SUNW,Ultra-1
    
     
    J must append -d to YFLAGGS in the Makefile.global other
    there is a error because the file y.tab.h never exist.
    
    J have a another problem
    This is a error when j execute gmake all
    gmake abort on the following error
    
    
    gmake[2]: Leaving directory `/usr2/pgsql/postgresql-6.4.2/src/backend/utils'
    gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o 
    commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o 
    nodes/SUBSYS.o optimizer/SUBSYS.o parser/SUBSYS.o port/SUBSYS.o 
    postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o 
    tcop/SUBSYS.o utils/SUBSYS.o ../utils/version.o -lgen -lcrypt -lnsl -lsocket 
    -ldl -lm -ltermcap -lcurses 
    ld: fatal: file postgres: cannot msync file; errno=28
    gmake[1]: *** [postgres] Error 1
    gmake[1]: Leaving directory `/usr2/pgsql/postgresql-6.4.2/src/backend'
    gmake: *** [all] Error 2
    
    My LD_LIBRARY_PATH is
     
    LD_LIBRARY_PATH=/usr/lib:/usr/ucblib:/usr/local/lib:/usr/local/libg++-2.7.1/lib:
    /usr2/MOTIF/lib:/usr/openwin/lib
     
    Thanks for your help
    
    ***************************************************
    * CNRS - IN2P3 - LAPP                             *
    ***************************************************
    ************** Adresse Postale ********************
    * LAPP                                            *
    * Chemin de BELLEVUE                              *  
    * BP 110                                          *
    * 74941 ANNECY LE VIEUX Cedex                     *
    ***************************************************
    * CORAGEOUD Francois                              *
    *                                                 *
    * Email : corageou@lapp.in2p3.fr                  *
    * Tel : 04 50 09 16 70                            *
    * Fax : 04 50 09 89 13                            * 
    ***************************************************