Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-Feb-2008, 17:03
Jonathan R
Guest
 
Posts: n/a
Default

Use these configure options.

Code:
./configure --verbose --prefix=/usr --with-db=internal --with-db-tools-integrated --with-zlib=internal --with-file=internal --with-lua=internal --with-sqlite=external --with-beecrypt=external --with-nss=external --with-neon=external --with-pcre=external --with-uuid=external --with-xar=internal --with-bzip2=external --with-popt=external --with-keyutils=external --with-libelf --with-python --with-perl --with-build-extlibdep --with-build-maxextlibdep --enable-build-pic --enable-build-pie --enable-build-versionscript --enable-build-warnings --enable-build-debug

You will also libelf1 and libelf-devel, need nss, neon, and beecrypt and their respective -devel packages.

From there, run the configure (with all those options), then run make, and make install.
  #2 (permalink)  
Old 15-Feb-2008, 12:38
Jonathan R
Guest
 
Posts: n/a
Default

I continue to work with the rpm5 team to get this. We have modified the configure options to this
Code:
> ./configure --verbose --prefix=/usr --with-db=internal --with-db-tools-integrated --with-zlib=external --with-file=external --with-lua=external --with-sqlite=external --with-beecrypt=external --with-nss=external --with-neon=external --with-pcre=external --with-xar=/usr/include/xar --with-bzip2=external--with-popt=external --with-keyutils=external --with-libelf --with-python --with-perl --with-build-extlibdep --with-build-maxextlibdep --enable-build-pic --enable-build-pie --enable-build-versionscript --enable-build-warnings --enable-build-debug
You can add the option for uuid back in, if you wish, just make sure to install uuid and the devel. I have had to rebuild some src.rpms. Beecrypt is a pain to compile, and fortunately jbj did do a src.rpm of it. So I rebuilt beecrypt and lzma.

I'll put up the rpm's for beecrypt and lzma on my site shortly.
  #3 (permalink)  
Old 15-Feb-2008, 12:46
Jonathan R
Guest
 
Posts: n/a
Default

As promised, here are the rpms http://downloads.thecompletecomputerresource.com/rpms/
  #4 (permalink)  
Old 21-Feb-2008, 14:55
Jonathan R
Guest
 
Posts: n/a
Default

I used the builds of rpm here http://rpm5.org/files/rpm/rpm-5.1/SNAPSHOT/ it's only source files.

rpm --version
rpm (RPM) 5.1.SNAPSHOT.20080220


So I am now on rpm-5.
  #5 (permalink)  
Old 25-Feb-2008, 14:16
Jonathan R
Guest
 
Posts: n/a
Default

OK. A few things. Unknown to me, openSUSE does not have /etc/rpm/platform
Why is this important? When reading the database all the entries will be marked as 0 (binary option) which is to say "nothing is there". Now, there are a couple ways to fix this. Get the current snapshot of rpm-5.1 or run this
Code:
rpm --eval %{_target_platform}
In my case it output this
Code:
i586-suse-linux
So then I ran
Code:
/etc/rpm #touch platform
and then I opened it with vim
Code:
/etc/rpm # vim platform
I added
Code:
i586-suse-linux
Now if that's all, you can :wq to save and quit. However, you may want to extend it a bit. So I included a few more
Code:
i586-suse-linux
i386-suse-linux
noarch-suse-linux
Is what mine looks like. It will prefer the i586-suse-linux and use the others in the order you see listed.

Now if you're running 64bit, it's the same concept. Just use the output from
Code:
rpm --eval %{_target_platform}
as your base.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2