Author Topic: $ ./configure && make && make-install... how to get this to work with NuTyX?  (Read 973 times)

aarn

  • Guest
Downloading a standard tarball (eg. synaptic....tar.xz), un-tarring, then cd to the directory is straight-forward. Make was available from $ cards install make. But $ ./configure doesn't work. Am I missing something here? Thanks 

Thierry

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +6/-0
  • Gender: Male
    • NuTyX distribution
I'm afraid you will need to read the documentation, I cannot explain it here in a few words. Take the time to read the documentation located at:

http://www.nutyx.org/en/documentation

Regards,
Thierry

cdrw

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
Downloading a standard tarball (eg. synaptic....tar.xz), un-tarring, then cd to the directory is straight-forward. Make was available from $ cards install make. But $ ./configure doesn't work. Am I missing something here? Thanks

Very easily scripts are transferred from Slaskware. As an example, SlaskBuild from Slaskbuilds.org

And this is my first Pkgbuild for NuTyX

Code: [Select]
# Description: Library for national and language-specific issues.
# URL: https://github.com/vitlav/libnatspec
# Packager: cdrw

name=libnatspec
version=0.3.1
release=1
source=( https://github.com/vitlav/libnatspec/archive/$version-alt2.tar.gz )

build() {
cd $name-$version-alt2
    autoreconf -fiv
./configure                                   \
               --prefix=/usr                      \
               --sysconfdir=/etc                  \
               --localstatedir=/var               \
               --mandir=/usr/man                  \
               --infodir=/usr/share/info          \
               --docdir=/usr/doc/$name-$version   \
               --with-python       
make
make DESTDIR=$PKG install

    find $PKG/usr/man -type f -exec gzip -9 {} \;
    for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
}
« Last Edit: Sun Sep 17 09:36:05 2017 by cdrw »

Thierry

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +6/-0
  • Gender: Male
    • NuTyX distribution
Thanks a lot for this example, I think it will help people to understand.

Regards

cdrw

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
I'm delighted with your distribution. You came up with everything I wanted.
I like experimenting, and for many years as a user of Slackware, I wrote for myself such constructs.
Comments in Russian, but this I wrote for myself.
Now I can build a distro for myself much faster, thanks to your work.
And I'll try to help others. I know very little English, but I want to help.
Thanks for your work!

Request. Open the topic for Russian users on the forum. I would like to attract Russian-speaking users. As in the SalixOS forum. If possible.
« Last Edit: Sun Sep 17 14:58:39 2017 by cdrw »