mirror of
				https://github.com/xcat2/xcat-dep.git
				synced 2025-11-04 05:12:31 +00:00 
			
		
		
		
	Notes on building SQLite on AIX.
This commit is contained in:
		
							
								
								
									
										19
									
								
								AIX/perl-DBD-SQLite/Build-notes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								AIX/perl-DBD-SQLite/Build-notes
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
Build Notes
 | 
			
		||||
 | 
			
		||||
Need cc_r compiler installed on AIX build system. 
 | 
			
		||||
 | 
			
		||||
Download DBD-SQLite-1.13.tar.gz from CPAN.
 | 
			
		||||
 | 
			
		||||
Unwrap the tar file. (gunzip & tar -xvf  )
 | 
			
		||||
 | 
			
		||||
Go to the subdirectory containing the Makefile and run "cpan2rpm ." 
 | 
			
		||||
This will eventually fail but it does produce a spec file. Modify the spec
 | 
			
		||||
file and put it in  /opt/freeware/src/packages/SPECS. Put the gz file in 
 | 
			
		||||
/opt/freeware/src/packages/SOURCES.
 | 
			
		||||
 | 
			
		||||
Modify the spec file.  (The modified file is in this directory.)
 | 
			
		||||
 | 
			
		||||
Run "rpm -bb DBD-SQLite.spec", which creates:
 | 
			
		||||
 /opt/freeware/src/packages/RPMS/ppc/perl-DBD-SQLite-1.13-1.aix5.3.ppc.rpm
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user