[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:slackware_admin:building_a_package [2021/08/21 11:12 (UTC)] – [Specific tweaks] zeebrahowtos:slackware_admin:building_a_package [2023/12/14 11:39 (UTC)] mozes
Line 7: Line 7:
  
 Configure and compile the source as you usually do: Configure and compile the source as you usually do:
-<code>./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc+<code>./configure --prefix=/usr --libdir=/usr/lib64 --localstatedir=/var --sysconfdir=/etc
 make</code> make</code>
 +
 +<note important>For 32bit systems, adjust the library directory location: --libdir=/usr/lib</note>
  
 Make a temporary destination directory available: Make a temporary destination directory available:
Line 68: Line 70:
 ====== Specific tweaks ===== ====== Specific tweaks =====
  
-**Perl info**: perl packages comes with /usr/lib64/perl5/perllocal.pod and you probably don't want to overwrite the local version. Instead you could move the file to your package root/tmp and use the doinst.sh to append the new information to the old with something like "( cat /tmp/perllocal.pod >> /usr/lib64/perl5/perllocal.pod )".+**Perl info**: perl packages comes with /usr/lib64/perl5/perllocal.pod and you probably don't want to overwrite the local version. Instead you could move the file to your package root/tmp and use the doinst.sh to append the new information to the old with something like <code>( cat /tmp/perllocal.pod >> /usr/lib64/perl5/perllocal.pod )</code>.
  
  
 howtos:slackware_admin:building_a_package ()