Hi all,
I am trying to get Openser 1.3.1 installed on Debian. It gave me a lot of errors when I try to "make" from the source. Could someone please tell me the list of packages I should install before building Openser?
By the way, I haven't been able to find a step-by-step guides on installing Openser from scratch on Debian. If there is one exists somewhere on the Internet, I would greatly appreciate it if you can point me to it. I am currently working through a few of the how-tos trying to put pieces together.
Thanks in advance for your help.
Regards, Pete
On Tuesday 15 April 2008, Pete Kay wrote:
I am trying to get Openser 1.3.1 installed on Debian. It gave me a lot of errors when I try to "make" from the source. Could someone please tell me the list of packages I should install before building Openser?
By the way, I haven't been able to find a step-by-step guides on installing Openser from scratch on Debian. If there is one exists somewhere on the Internet, I would greatly appreciate it if you can point me to it. I am currently working through a few of the how-tos trying to put pieces together.
Hi Pete,
you'll find a list in the 'INSTALL' file in the source root. The default installation with 'make' should compile one a standard system, as it don't need any fancy dependencies.
A tutorial for debian is available on the project wiki.
Cheers,
Henning
Hi Pete,
Another suggestion is to issue a "make deb" from the OpenSER directory. "make deb" checks for dependent software and will throw an error message if any of them aren't installed. Just install the packages mentioned.
Regards, Norm
Henning Westerholt wrote:
On Tuesday 15 April 2008, Pete Kay wrote:
I am trying to get Openser 1.3.1 installed on Debian. It gave me a lot of errors when I try to "make" from the source. Could someone please tell me the list of packages I should install before building Openser?
By the way, I haven't been able to find a step-by-step guides on installing Openser from scratch on Debian. If there is one exists somewhere on the Internet, I would greatly appreciate it if you can point me to it. I am currently working through a few of the how-tos trying to put pieces together.
Hi Pete,
you'll find a list in the 'INSTALL' file in the source root. The default installation with 'make' should compile one a standard system, as it don't need any fancy dependencies.
A tutorial for debian is available on the project wiki.
Cheers,
Henning
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
El Tuesday 15 April 2008 13:03:27 Pete Kay escribió:
Hi all,
I am trying to get Openser 1.3.1 installed on Debian. It gave me a lot of errors when I try to "make" from the source. Could someone please tell me the list of packages I should install before building Openser?
Instead of "make" use "make deb" and you will get cool debian packages.
By the way, I haven't been able to find a step-by-step guides on installing Openser from scratch on Debian. If there is one exists somewhere on the Internet, I would greatly appreciate it if you can point me to it. I am currently working through a few of the how-tos trying to put pieces together.
Packages in Debian Etch:
~# aptitude install libssl-dev bison flex gcc make libmysqlclient15-dev libradiusclient-ng-dev build-essential libdb-dev libxml2-dev libldap2-dev libexpat1-dev libxmlrpc-c3-dev libsnmp-dev dpkg-dev fakeroot dpatch debhelper libpq-dev unixodbc-dev libperl-dev libconfuse-dev libdb4.4-dev xsltproc util-linux libcurl3-gnutls-dev
Modify Makefile to install in Etch instead of Sid (by default): deb: #ln -sf packaging/debian ln -sf packaging/debian-etch debian
If you need TLS enable it by editing "packages/debian/rules": TLS=yes
Compile: ~# make deb
It creates .deb packages in the parent directory (usually /usr/src). Install them (which you need) with "dpkg -i".
Edit /etc/default/openser: RUN_OPENSER=yes
Create DB tables (if needed): ~# openserdbctl create
Hope it helps.
Hi,
Thank you all for your inputs.
When I tried to do "make deb", I am getting error:
ser:/usr/src/openser-1.3.1-notls# make deb bison -d -b cfg cfg.y cfg.y: conflicts: 1 shift/reduce flex cfg.lex ln -sf packaging/debian-etch debian dpkg-buildpackage -rfakeroot -tc dpkg-buildpackage: source package is openser dpkg-buildpackage: source version is 1.3.0-svn1 dpkg-buildpackage: source changed by Julien BLACHE jblache@debian.org dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 1.3.0-svn1 dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 5) dpatch libexpat1-dev libxml2-dev libpq-dev libradiusclient-ng-dev unixodbc-dev libxmlrpc-c3-dev libperl-dev libsnmp-dev libdb4.4-dev libconfuse-dev libldap2-dev libcurl3-gnutls-dev dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: (Use -d flag to override.) make: *** [deb] Error 3 ser:/usr/src/openser-1.3.1-notls#
Also, may I ask what is the full path for "packages/debian/rules"?
Also, if the above two steps work, do I still need to do make all include_modules="mysql" to make openser working with mysql?
Thanks alot for your help.
Pete
Pete,
The key information is:
Unmet build dependencies: debhelper (>= 5) dpatch libexpat1-dev libxml2-dev libpq-dev libradiusclient-ng-dev unixodbc-dev libxmlrpc-c3-dev libperl-dev libsnmp-dev libdb4.4-dev libconfuse-dev libldap2-dev libcurl3-gnutls-dev
You can for example issue the following command: "apt-get install debhelper" or "apt-get install debhelper dpatch".
The rules are in your OpenSER src directory under "debian/rules".
Note that you might need to alter /etc/apt/sources.list from "etch" to "lenny". "lenny" is currently the "testing" level.
Regards, Norm
Pete Kay wrote:
Hi,
Thank you all for your inputs.
When I tried to do "make deb", I am getting error:
ser:/usr/src/openser-1.3.1-notls# make deb bison -d -b cfg cfg.y cfg.y: conflicts: 1 shift/reduce flex cfg.lex ln -sf packaging/debian-etch debian dpkg-buildpackage -rfakeroot -tc dpkg-buildpackage: source package is openser dpkg-buildpackage: source version is 1.3.0-svn1 dpkg-buildpackage: source changed by Julien BLACHE jblache@debian.org dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 1.3.0-svn1 dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 5) dpatch libexpat1-dev libxml2-dev libpq-dev libradiusclient-ng-dev unixodbc-dev libxmlrpc-c3-dev libperl-dev libsnmp-dev libdb4.4-dev libconfuse-dev libldap2-dev libcurl3-gnutls-dev dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: (Use -d flag to override.) make: *** [deb] Error 3 ser:/usr/src/openser-1.3.1-notls#
Also, may I ask what is the full path for "packages/debian/rules"?
Also, if the above two steps work, do I still need to do make all include_modules="mysql" to make openser working with mysql?
Thanks alot for your help.
Pete
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
El Tuesday 15 April 2008 13:52:31 Pete Kay escribió:
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 5) dpatch libexpat1-dev libxml2-dev libpq-dev libradiusclient-ng-dev unixodbc-dev libxmlrpc-c3-dev libperl-dev libsnmp-dev libdb4.4-dev libconfuse-dev libldap2-dev libcurl3-gnutls-dev
There is the error, still are missing dependences. Install them.
Also, may I ask what is the full path for "packages/debian/rules"?
it's "packaging" directory isntead of "packages". My mistake.
Also, if the above two steps work, do I still need to do make all include_modules="mysql" to make openser working with mysql?
No, you will get all the modules as separate deb packages and install which you need later.
Hi,
Sorry to trouble everyone again. I apt-get all the dependencies, but I am getting another error:
ser:/usr/src/openser-1.3.1-notls# make deb ln -sf packaging/debian-etch debian dpkg-buildpackage -rfakeroot -tc dpkg-buildpackage: source package is openser dpkg-buildpackage: source version is 1.3.0-svn1 dpkg-buildpackage: source changed by Julien BLACHE jblache@debian.org dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 1.3.0-svn1 fakeroot debian/rules clean /usr/bin/dpkg-buildpackage: line 193: fakeroot: command not found make: *** [deb] Error 127 ser:/usr/src/openser-1.3.1-notls# whoami root ser:/usr/src/openser-1.3.1-notls#
I am already logging in as root. What is the cause of this fakeroot error and how to fix it?
Thanks in advance for all your help.
Regards, Pete
El Tuesday 15 April 2008 15:15:57 Pete Kay escribió:
/usr/bin/dpkg-buildpackage: line 193: fakeroot: command not found
Hi, you must read the line errors, it's very intuitive: fakeroot: command not found
So you don't have "fakeroot" command in your computer. Then you must to look for a deb package containing it:
~# apt-cache seach fakeroot apport-retrace - tools for reprocessing Apport crash reports devscripts - Scripts to make the life of a Debian Package maintainer easier fakeroot - Gives a fake root environment sdate - never ending September date
which one of them do you think you need? XD
Pete,
Have you tried: "apt-get install fakeroot" ?
Regards, Norm
Pete Kay wrote:
Hi,
Sorry to trouble everyone again. I apt-get all the dependencies, but I am getting another error:
ser:/usr/src/openser-1.3.1-notls# make deb ln -sf packaging/debian-etch debian dpkg-buildpackage -rfakeroot -tc dpkg-buildpackage: source package is openser dpkg-buildpackage: source version is 1.3.0-svn1 dpkg-buildpackage: source changed by Julien BLACHE jblache@debian.org dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 1.3.0-svn1 fakeroot debian/rules clean /usr/bin/dpkg-buildpackage: line 193: fakeroot: command not found make: *** [deb] Error 127 ser:/usr/src/openser-1.3.1-notls# whoami root ser:/usr/src/openser-1.3.1-notls#
I am already logging in as root. What is the cause of this fakeroot error and how to fix it?
Thanks in advance for all your help.
Regards, Pete
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users