[unixODBC-support] error in make

Goyal, Pravin Shyam pravin.goyal at hp.com
Thu Jun 25 03:20:35 BST 2009


This is Simple... 
1. Go to Drivers folder. 
2. Open the Makefile there.
3. Remove the Postgre7.1 wherever you see
4. Go back using cd ..
5. Execute make again :)
6. Enjoy !!

Thanks and regards,
Pravin Goyal

-----Original Message-----
From: unixodbc-support-bounces at mailman.unixodbc.org [mailto:unixodbc-support-bounces at mailman.unixodbc.org] On Behalf Of Ralph Hershkowitz/NYLIM
Sent: Thursday, June 25, 2009 2:06 AM
To: unixodbc-support at mailman.unixodbc.org
Subject: [unixODBC-support] error in make

I've seen this one before but dont remember the fix.

                                                                                            
                                                                                            
   Making all in Postgre7.1                                                                 
   make: Fatal error in reader: Makefile, line 585: Unexpected end of                       
   line seen                                                                                
   Current working directory                                                                
   /prod/sys/saroracle/admin/ODBC/unixODBC-2.2.14-p1/Drivers/Postgre7.                      
   1                                                                                        
   *** Error code 1                                                                         
   The following command caused the error:                                                  
   failcom='exit 1'; \                                                                      
   for f in x $MAKEFLAGS; do \                                                              
     case $f in \                                                                           
       *=* | --[!k]*);; \                                                                   
       *k*) failcom='fail=yes';; \                                                          
     esac; \                                                                                
   done; \                                                                                  
   dot_seen=no; \                                                                           
   target=`echo all-recursive | sed s/-recursive//`; \                                      
   list='PostgreSQL  Postgre7.1  odbc  template  MiniSQL  nn'; 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) \                                                  
     || eval $failcom; \                                                                    
   done; \                                                                                  
   if test "$dot_seen" = "no"; then \                                                       
     make  "$target-am" || exit 1; \                                                        
   fi; test -z "$fail"                                                                      
                                                                                            
                                                                                            





Ralph Hershkowitz
DBA Manager
New York Life Investment Management
(973)-394-3352

_______________________________________________
unixODBC-support mailing list
unixODBC-support at mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support


More information about the unixODBC-support mailing list