HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - SQLite2 perl make error
 
Operating System - Linux
        1840139
        Members
    
    
        2319
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-11-2008 06:02 AM
02-11-2008 06:02 AM
			
				
					
						
							SQLite2 perl make error
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I am not very familiar with c compilers. So, can sombody explain what I am doing wrong??
I tried to install a perl module with cc and then tried with gcc
Many Thanks
$ gmake
gcc -c -I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/auto/DBI -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -O2 -DVERSION=\"0.33\" -DXS_VERSION=\"0.33\" -fPIC "-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DHAVE_USLEEP=1 SQLite2.c
SQLite2.xsi: In function 'XS_DBD__SQLite2__db_disconnect':
SQLite2.xsi:275: error: lvalue required as left operand of assignment
SQLite2.xsi: In function 'XS_DBD__SQLite2__db_DESTROY':
SQLite2.xsi:334: error: lvalue required as left operand of assignment
gmake: *** [SQLite2.o] Error 1
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I am not very familiar with c compilers. So, can sombody explain what I am doing wrong??
I tried to install a perl module with cc and then tried with gcc
Many Thanks
$ gmake
gcc -c -I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/auto/DBI -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -O2 -DVERSION=\"0.33\" -DXS_VERSION=\"0.33\" -fPIC "-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DHAVE_USLEEP=1 SQLite2.c
SQLite2.xsi: In function 'XS_DBD__SQLite2__db_disconnect':
SQLite2.xsi:275: error: lvalue required as left operand of assignment
SQLite2.xsi: In function 'XS_DBD__SQLite2__db_DESTROY':
SQLite2.xsi:334: error: lvalue required as left operand of assignment
gmake: *** [SQLite2.o] Error 1
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-11-2008 06:23 AM
02-11-2008 06:23 AM
			
				
					
						
							Re: SQLite2 perl make error
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
You are probably compiling code with an error.
IT would appear that a variable is incomplete nor not quoted completely.
If you don't understand the code, take it to someone who does.
Also check the compiler instructions so you are certain you are using the right compiler and environment.
SEP
		
		
	
	
	
You are probably compiling code with an error.
IT would appear that a variable is incomplete nor not quoted completely.
If you don't understand the code, take it to someone who does.
Also check the compiler instructions so you are certain you are using the right compiler and environment.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-11-2008 06:44 AM
02-11-2008 06:44 AM
			
				
					
						
							Re: SQLite2 perl make error
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi:
You should compile Perl modules that require compilation with the same compiler that was used to compile your Perl distribution.
# perl -V:cc
...will show you 'cc' or 'gcc' pointing to either the HP-UX Ansi C compiler (not the bundled C compiler!) or the GNU 'gcc' compiler.
The easist way to compile and install new modules is to use the CPAN module and let it follow any dependencies:
# perl -MCPAN -e shell
Regards!
...JRF...
		
		
	
	
	
You should compile Perl modules that require compilation with the same compiler that was used to compile your Perl distribution.
# perl -V:cc
...will show you 'cc' or 'gcc' pointing to either the HP-UX Ansi C compiler (not the bundled C compiler!) or the GNU 'gcc' compiler.
The easist way to compile and install new modules is to use the CPAN module and let it follow any dependencies:
# perl -MCPAN -e shell
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP