Hi,
Is it possible to create an RPM spec file to build a package of openlitespeed?
http://docs.fedoraproject.org/en-US...ckagers_Guide-Creating_a_Basic_Spec_File.html
in "%install" section
make install DESTDIR=$RPM_BUILD_ROOT
not working correctly.
Something wrong with dist/install.sh file
some test:
# ./configure
...
# make
...
# make install DESTDIR=/tmp/test
....
....
chown: cannot access '/usr/local/lsws': No such file or directory
mkdir: cannot create directory '/usr/local/lsws/admin': No such file or directory
chown: cannot access '/usr/local/lsws/admin': No such file or directory
chmod: cannot access '/usr/local/lsws/admin': No such file or directory
mkdir: cannot create directory '/usr/local/lsws/bin': No such file or directory
chown: cannot access '/usr/local/lsws/bin': No such file or directory
chmod: cannot access '/usr/local/lsws/bin': No such file or directory
mkdir: cannot create directory '/usr/local/lsws/docs': No such file or directory
chown: cannot access '/usr/local/lsws/docs': No such file or directory
chmod: cannot access '/usr/local/lsws/docs': No such file or directory
should be /tmp/test/usr/local/lsws/
And how to disable build php during install?
I want to build my own package php-litespeed like this:
http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/php54-litespeed-5.4.16-1.ius.el5.x86_64.rpm
or using this howto
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi_ubuntu_debian
Is it possible to create an RPM spec file to build a package of openlitespeed?
http://docs.fedoraproject.org/en-US...ckagers_Guide-Creating_a_Basic_Spec_File.html
in "%install" section
make install DESTDIR=$RPM_BUILD_ROOT
not working correctly.
Something wrong with dist/install.sh file
some test:
# ./configure
...
# make
...
# make install DESTDIR=/tmp/test
....
....
chown: cannot access '/usr/local/lsws': No such file or directory
mkdir: cannot create directory '/usr/local/lsws/admin': No such file or directory
chown: cannot access '/usr/local/lsws/admin': No such file or directory
chmod: cannot access '/usr/local/lsws/admin': No such file or directory
mkdir: cannot create directory '/usr/local/lsws/bin': No such file or directory
chown: cannot access '/usr/local/lsws/bin': No such file or directory
chmod: cannot access '/usr/local/lsws/bin': No such file or directory
mkdir: cannot create directory '/usr/local/lsws/docs': No such file or directory
chown: cannot access '/usr/local/lsws/docs': No such file or directory
chmod: cannot access '/usr/local/lsws/docs': No such file or directory
should be /tmp/test/usr/local/lsws/
And how to disable build php during install?
I want to build my own package php-litespeed like this:
http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/php54-litespeed-5.4.16-1.ius.el5.x86_64.rpm
or using this howto
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi_ubuntu_debian