You are not logged in.

#1 2006-05-10 12:27:29

sergej
Package Maintainer (PM)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 69

configure options

configure options now must be typed into PKGBUILD.

How about ability to change "optional" options with the dialog tool like in FreeBSD ports?

Last example - I try to build nmap on server without X and it fails while make with gtk not found error.

So I should run configure --help, find proper options to exclude GUI, type it into PKGBUILD and try to build again.

May be, it will enough to put 2-3 lines with configure...

for example
configure --prefix=/usr
# configure --prefix=/usr --without-nmapfe
# configure ....... some other options

Or may be some other way exists...

Offline

#2 2006-05-10 12:34:10

sergej
Package Maintainer (PM)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 69

Re: configure options

One of posible ways:

options_check=(--without-nmapfe --without-x)
options_select=(--with-gui=gtk --with-gui=qt --with-gui=xaw --with-gui=motif)

...
build{
  ...
  ./configure --prefix=/usr $selected_options
  ...
}

Offline

Board footer

Powered by FluxBB