I am developing the install4j generated installers for Openfire. I am using Install4J 7.0.6.
I can not resolve how to tell install4j to install a file into /etc/sysconfig, here's a screenshot of my Files screen. The installation directory resolves to /opt/openfire
When I build the media, I get this warning:
[INFO] Creating media file 'Linux i686 RPM':
[INFO] Collecting files:
[INFO] [WARNING] External roots cannot be included in an archive media set. Skipping these entries.
and the generated RPM file has no references to /etc/
# rpm -qlp openfire-4_3_0-SNAPSHOT-1_i686.rpm | grep etc
#
Thanks!
As of install4j 7.x, this is unfortunately not supported, the RPM can only contain files that are installed into the installation directory.
Related
I am building a netbeans 8.1 platform application for CentOS6 and CentOS7. These OS's host rpmbuild 4.8.0 and 4.11.3 respectively.
On each OS, I can package the application into a ZIP file distribution in the netbeans 8.1 IDE, which is then referenced in my .spec file.
On both OS, the resulting rpm is built fine (by which I mean, an rpm is produced with no errors).
When I install the rpm on CentOS6, it installs fine and the application runs.
When I install the rpm on CentOS7, rpm returns the following error:
D: Requires: osgi(org.tmatesoft.sqljet) NO
(In fact I get a bunch of osgi references, but all the others have satisfied dependencies).
If I list the rpm dependencies with
rpm -qpR package.rpm
I get the same list of dependencies on both OS, except that on CentOS7 it finds a bunch of osgi() dependencies - these are not present on CentOS6.
Since the only difference between these two proceedures is the version of rpmbuild I am using, I suspect that this is the problem. However, I'm not sure how best to resolve the problem on CentOS7 - I've tried using --nodeps in the rpmbuild command and I've tried adding module dependencies to the project in netbeans, but to no avail. Any help much appreciated.
I have generated latex with doxygen, then I run the make pdf command.
This is the first time I tried it.
[mysite.lan] (liberz) latex> make pdf
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
pdflatex refman
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
kpathsea: Running mktexfmt pdflatex.fmt
/usr/bin/mktexfmt: line 395: /usr/share/texlive/texmf/texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `pdflatex.fmt'!
make: *** [refman.pdf] Error 1
I looked at the mkexfmt command and it is trying to invoke tcfmgr as a command.
The /usr/share/texlive/texmf/texconfig folder exists, but there is no tcfmgr command in it.
Previously I was getting the pdflatex command was not found, so that is recently installed.
[edit to answer version information question] I am sure I need to install more tools, but it is not clear what packages I need to install. I am using CentOS 7.1.
> pdflatex -version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
kpathsea version 6.1.1
Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.5.13; using libpng 1.5.13
Compiled with zlib 1.2.7; using zlib 1.2.7
Compiled with poppler version 0.22.5
Doxygen PDF output depends on pdflatex command, which in CentOS 7 is provided by texlive-latex-bin-bin package, but runnig make pdf invokes yet another command, tcfmgr, which is provided by texlive-texconfig, hence, run the following command to install those dependencies:
yum install -y texlive-latex-bin-bin texlive-texconfig
You can check which packages provide any necessary file:
$ yum --quiet provides "*bin/pdflatex"
...
2:texlive-latex-bin-bin-svn14050.0-38.20130427_r30134.el7.noarch :
Binaries for latex-bin
Repo : base
Matched from:
Filename : /usr/bin/pdflatex
$ yum --quiet provides /usr/share/texlive/texmf/texconfig/tcfmgr
...
2:texlive-texconfig-svn29349.0-38.el7.noarch : texconfig package
Repo : base
Matched from:
Filename : /usr/share/texlive/texmf/texconfig/tcfmgr
But even with these 2 basic requirements satisfied, I found that many other messages followed, and the whole list to reduce warnings was:
xargs <<_EOF_ yum -y install
texlive-latex-bin-bin
texlive-texconfig
texlive-metafont-bin
texlive-iftex
texlive-cm
texlive-xtab
texlive-multirow
texlive-ec
texlive-sectsty
texlive-fancyhdr
texlive-natbib
texlive-tocloft
texlive-tex4ht
texlive-helvetic
texlive-pslatex
texlive-courier
texlive-times
texlive-metapost
texlive-symbol
texlive-rsfs
texlive-dvips
texlive-base
texlive-makeindex-bin
_EOF_
...
Transaction Summary
==============================================================================================================================
Install 23 Packages (+132 Dependent packages)
Total download size: 43 M
Installed size: 134 M
...
And yet Tex2PDF conversion produces many warnings, but the resulting document is quite satisfatory.
[Edited on Nov 8th]
If you want a "recommended" package installation, you might choose one of these "virtual" packages that require other sets of packages, to compose a more "complete" Latex environment, in order of higher comprehensiveness:
texlive-collection-latex : LaTeX fundamental packages
texlive-collection-latexrecommended : LaTeX recommended packages
texlive
So even the most basic buildbot tutorial (http://docs.buildbot.net/current/tutorial/firstrun.html) has failed for me.
OS: Linux Mint 17.1 Cinnamon 64-bit
Cinnamon Version: 2.4.8
Linux Kernel: 3.13.0-37-generic
~/tmp $ cd
~ $ mkdir -p tmp/buildbot
~ $ cd tmp/buildbot
~/tmp/buildbot $ virtualenv --no-site-packages sandbox
New python executable in sandbox/bin/python
Installing setuptools, pip...done.
~/tmp/buildbot $ source sandbox/bin/activate
(sandbox)~/tmp/buildbot $ easy_install sqlalchemy==0.7.10
Searching for sqlalchemy==0.7.10
Reading https://pypi.python.org/simple/sqlalchemy/
Best match: SQLAlchemy 0.7.10
Downloading https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.10.tar.gz#md5=ecc0cd1cd906d17818a5f08fe13ae19e
Processing SQLAlchemy-0.7.10.tar.gz
Writing /tmp/easy_install-_Q_iMm/SQLAlchemy-0.7.10/setup.cfg
Running SQLAlchemy-0.7.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_Q_iMm/SQLAlchemy-0.7.10/egg-dist-tmp-s3psrw
warning: no files found matching '*.jpg' under directory 'doc'
no previously-included directories found matching 'doc/build/output'
zip_safe flag not set; analyzing archive contents...
Adding SQLAlchemy 0.7.10 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/SQLAlchemy-0.7.10-py2.7-linux-x86_64.egg
Processing dependencies for sqlalchemy==0.7.10
Finished processing dependencies for sqlalchemy==0.7.10
(sandbox)~/tmp/buildbot $ easy_install buildbot
Searching for buildbot
Reading https://pypi.python.org/simple/buildbot/
Best match: buildbot 0.9.0b2
Downloading https://pypi.python.org/packages/source/b/buildbot/buildbot-0.9.0b2.tar.gz#md5=69d75a4e2c5db5b1e0ebab23476f0897
Processing buildbot-0.9.0b2.tar.gz
Writing /tmp/easy_install-5UymBr/buildbot-0.9.0b2/setup.cfg
Running buildbot-0.9.0b2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5UymBr/buildbot-0.9.0b2/egg-dist-tmp-ZvVxCY
warning: no files found matching 'buildbot/clients/debug.glade'
warning: no files found matching 'master/buildbot/www/index.html'
zip_safe flag not set; analyzing archive contents...
buildbot.config: module references __file__
buildbot.__init__: module references __file__
buildbot.db.model: module references __file__
buildbot.reporters.message: module references __file__
buildbot.process.buildstep: module MAY be using inspect.getsourcefile
buildbot.scripts.create_master: module references __file__
buildbot.scripts.upgrade_master: module references __file__
buildbot.scripts.base: module references __file__
buildbot.test.integration.test_configs: module references __file__
buildbot.test.integration.test_upgrade: module references __file__
buildbot.test.unit.test_www_config: module references __file__
/home/chris/tmp/buildbot/sandbox/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py:440: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
symbols = dict.fromkeys(iter_symbols(code))
buildbot.test.unit.test_contrib_buildbot_cvs_mail: module references __file__
buildbot.test.unit.test_steps_transfer: module references __file__
Adding buildbot 0.9.0b2 to easy-install.pth file
Installing buildbot script to /home/chris/tmp/buildbot/sandbox/bin
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/buildbot-0.9.0b2-py2.7.egg
Processing dependencies for buildbot
Searching for autobahn>=0.10.2
Reading https://pypi.python.org/simple/autobahn/
Best match: autobahn 0.10.9
Downloading https://pypi.python.org/packages/source/a/autobahn/autobahn-0.10.9.tar.gz#md5=fa90fa91f9c0e711ca6e87c7e9d835b7
Processing autobahn-0.10.9.tar.gz
Writing /tmp/easy_install-cjVD0z/autobahn-0.10.9/setup.cfg
Running autobahn-0.10.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cjVD0z/autobahn-0.10.9/egg-dist-tmp-gvenDF
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
Adding autobahn 0.10.9 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/autobahn-0.10.9-py2.7.egg
Searching for python-dateutil>=1.5
Reading https://pypi.python.org/simple/python-dateutil/
Reading http://labix.org/python-dateutil
Reading https://dateutil.readthedocs.org
Best match: python-dateutil 2.4.2
Downloading https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz#md5=4ef68e1c485b09e9f034e10473e5add2
Processing python-dateutil-2.4.2.tar.gz
Writing /tmp/easy_install-kNEDZF/python-dateutil-2.4.2/setup.cfg
Running python-dateutil-2.4.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kNEDZF/python-dateutil-2.4.2/egg-dist-tmp-Oay0AQ
Adding python-dateutil 2.4.2 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/python_dateutil-2.4.2-py2.7.egg
Searching for sqlalchemy-migrate==0.7.2
Reading https://pypi.python.org/simple/sqlalchemy-migrate/
Reading http://code.google.com/p/sqlalchemy-migrate/
Reading http://erosson.com/migrate
Reading http://trac.erosson.com/migrate
Reading http://www.openstack.org/
Best match: sqlalchemy-migrate 0.7.2
Downloading https://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-0.7.2.tar.gz#md5=10382fda16f056491e671b5307dd6713
Processing sqlalchemy-migrate-0.7.2.tar.gz
Writing /tmp/easy_install-TpMB8k/sqlalchemy-migrate-0.7.2/setup.cfg
Running sqlalchemy-migrate-0.7.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-TpMB8k/sqlalchemy-migrate-0.7.2/egg-dist-tmp-cZ2EJX
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*pyc' found anywhere in distribution
warning: no previously-included files found matching '.hgtags'
warning: no previously-included files matching '*' found under directory 'docs/_build'
zip_safe flag not set; analyzing archive contents...
migrate.tests.__init__: module references __file__
migrate.tests.integrated.test_docs: module references __file__
migrate.tests.versioning.test_template: module references __path__
migrate.versioning.api: module MAY be using inspect.getsource
Adding sqlalchemy-migrate 0.7.2 to easy-install.pth file
Installing migrate script to /home/chris/tmp/buildbot/sandbox/bin
Installing migrate-repository script to /home/chris/tmp/buildbot/sandbox/bin
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/sqlalchemy_migrate-0.7.2-py2.7.egg
Searching for future
Reading https://pypi.python.org/simple/future/
Best match: future 0.15.2
Downloading https://pypi.python.org/packages/source/f/future/future-0.15.2.tar.gz#md5=a68eb3c90b3b76714c5ceb8c09ea3a06
Processing future-0.15.2.tar.gz
Writing /tmp/easy_install-wpK9rC/future-0.15.2/setup.cfg
Running future-0.15.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wpK9rC/future-0.15.2/egg-dist-tmp-CUiQaX
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
zip_safe flag not set; analyzing archive contents...
past.builtins.misc: module MAY be using inspect.stack
past.translation.__init__: module references __file__
past.translation.__init__: module references __path__
future.utils.__init__: module MAY be using inspect.stack
future.backports.test.ssl_servers: module references __file__
future.backports.test.support: module references __file__
future.standard_library.__init__: module references __file__
future.standard_library.__init__: module references __path__
Adding future 0.15.2 to easy-install.pth file
Installing pasteurize script to /home/chris/tmp/buildbot/sandbox/bin
Installing futurize script to /home/chris/tmp/buildbot/sandbox/bin
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/future-0.15.2-py2.7.egg
Searching for zope.interface>=4.1.1
Reading https://pypi.python.org/simple/zope.interface/
Best match: zope.interface 4.1.3
Downloading https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.3.tar.gz#md5=9ae3d24c0c7415deb249dd1a132f0f79
Processing zope.interface-4.1.3.tar.gz
Writing /tmp/easy_install-6ujKfa/zope.interface-4.1.3/setup.cfg
Running zope.interface-4.1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-6ujKfa/zope.interface-4.1.3/egg-dist-tmp-Ly9sek
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching 'coverage.xml' found anywhere in distribution
no previously-included directories found matching 'docs/_build'
Adding zope.interface 4.1.3 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/zope.interface-4.1.3-py2.7-linux-x86_64.egg
Searching for Jinja2>=2.1
Reading https://pypi.python.org/simple/Jinja2/
Best match: Jinja2 2.8
Downloading https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.8.tar.gz#md5=edb51693fe22c53cee5403775c71a99e
Processing Jinja2-2.8.tar.gz
Writing /tmp/easy_install-rmy8wW/Jinja2-2.8/setup.cfg
Running Jinja2-2.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rmy8wW/Jinja2-2.8/egg-dist-tmp-XE01Yl
warning: no files found matching 'run-tests.py'
warning: no files found matching '*' under directory 'custom_fixers'
warning: no files found matching '*' under directory 'jinja2/testsuite/res'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Adding Jinja2 2.8 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/Jinja2-2.8-py2.7.egg
Searching for twisted>=11.0.0
Reading https://pypi.python.org/simple/twisted/
Best match: Twisted 15.4.0
Downloading https://pypi.python.org/packages/source/T/Twisted/Twisted-15.4.0.tar.bz2#md5=5337ffb6aeeff3790981a2cd56db9655
Processing Twisted-15.4.0.tar.bz2
Writing /tmp/easy_install-vjWrMJ/Twisted-15.4.0/setup.cfg
Running Twisted-15.4.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vjWrMJ/Twisted-15.4.0/egg-dist-tmp-q0kjDC
Adding Twisted 15.4.0 to easy-install.pth file
Installing tap2deb script to /home/chris/tmp/buildbot/sandbox/bin
Installing conch script to /home/chris/tmp/buildbot/sandbox/bin
Installing trial script to /home/chris/tmp/buildbot/sandbox/bin
Installing cftp script to /home/chris/tmp/buildbot/sandbox/bin
Installing manhole script to /home/chris/tmp/buildbot/sandbox/bin
Installing tkconch script to /home/chris/tmp/buildbot/sandbox/bin
Installing pyhtmlizer script to /home/chris/tmp/buildbot/sandbox/bin
Installing mailmail script to /home/chris/tmp/buildbot/sandbox/bin
Installing twistd script to /home/chris/tmp/buildbot/sandbox/bin
Installing ckeygen script to /home/chris/tmp/buildbot/sandbox/bin
Installing tap2rpm script to /home/chris/tmp/buildbot/sandbox/bin
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg
Searching for txaio>=1.1.0
Reading https://pypi.python.org/simple/txaio/
Best match: txaio 2.0.4
Downloading https://pypi.python.org/packages/source/t/txaio/txaio-2.0.4.tar.gz#md5=8049f08ae608b98f4d9c60f0c9ddf621
Processing txaio-2.0.4.tar.gz
Writing /tmp/easy_install-YELo_c/txaio-2.0.4/setup.cfg
Running txaio-2.0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-YELo_c/txaio-2.0.4/egg-dist-tmp-tAH9RE
Adding txaio 2.0.4 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/txaio-2.0.4-py2.7.egg
Searching for six>=1.9.0
Reading https://pypi.python.org/simple/six/
Best match: six 1.10.0
Downloading https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55
Processing six-1.10.0.tar.gz
Writing /tmp/easy_install-5ePEyv/six-1.10.0/setup.cfg
Running six-1.10.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5ePEyv/six-1.10.0/egg-dist-tmp-JNUlRt
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
Adding six 1.10.0 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/six-1.10.0-py2.7.egg
Searching for Tempita>=0.4
Reading https://pypi.python.org/simple/Tempita/
Best match: Tempita 0.5.3dev
Downloading https://pypi.python.org/packages/source/T/Tempita/Tempita-0.5.3dev.tar.gz#md5=365c3b4f36435e2178902d5619301140
Processing Tempita-0.5.3dev.tar.gz
Writing /tmp/easy_install-mhq7re/Tempita-0.5.3dev/setup.cfg
Running Tempita-0.5.3dev/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mhq7re/Tempita-0.5.3dev/egg-dist-tmp-gjVIc4
Adding Tempita 0.5.3dev to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/Tempita-0.5.3dev-py2.7.egg
Searching for decorator
Reading https://pypi.python.org/simple/decorator/
Best match: decorator 4.0.4
Downloading https://pypi.python.org/packages/source/d/decorator/decorator-4.0.4.tar.gz#md5=dd3a0669e1e6f09699eefa2c7fbd9756
Processing decorator-4.0.4.tar.gz
Writing /tmp/easy_install-JGoW1O/decorator-4.0.4/setup.cfg
Running decorator-4.0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JGoW1O/decorator-4.0.4/egg-dist-tmp-Mc031N
Adding decorator 4.0.4 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/decorator-4.0.4-py2.7.egg
Searching for MarkupSafe
Reading https://pypi.python.org/simple/MarkupSafe/
Best match: MarkupSafe 0.23
Downloading https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4c37cd6a922fb81e730da6e
Processing MarkupSafe-0.23.tar.gz
Writing /tmp/easy_install-i8U2nQ/MarkupSafe-0.23/setup.cfg
Running MarkupSafe-0.23/setup.py -q bdist_egg --dist-dir /tmp/easy_install-i8U2nQ/MarkupSafe-0.23/egg-dist-tmp-evqYEI
Adding MarkupSafe 0.23 to easy-install.pth file
Installed /home/chris/tmp/buildbot/sandbox/lib/python2.7/site-packages/MarkupSafe-0.23-py2.7-linux-x86_64.egg
Finished processing dependencies for buildbot
(sandbox)~/tmp/buildbot $ buildbot create-master master
/home/chris/tmp/buildbot/sandbox/local/lib/python2.7/site-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/endpoints.py:29: DeprecationWarning: twisted.internet.interfaces.IStreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interface has been superseded by IStreamClientEndpointStringParserWithReactor.
from twisted.internet.interfaces import (
mkdir /home/chris/tmp/buildbot/master
creating /home/chris/tmp/buildbot/master/master.cfg.sample
populating public_html/
(sandbox)~/tmp/buildbot $ mv master/master.cfg.sample master/master.cfg
(sandbox)~/tmp/buildbot $ buildbot start master
Following twistd.log until startup finished..
The buildmaster took more than 10 seconds to start, so we were unable to
confirm that it started correctly. Please 'tail twistd.log' and look for a
line that says 'BuildMaster is Running' to verify correct startup.
(sandbox)~/tmp/buildbot $ buildbot --verbose start master
2015-10-14 08:48:39-0700 [-] Log opened.
2015-10-14 08:48:39-0700 [-] Following twistd.log until startup finished..
2015-10-14 08:48:49-0700 [-]
2015-10-14 08:48:49-0700 [-] The buildmaster took more than 10 seconds to start, so we were unable to
2015-10-14 08:48:49-0700 [-] confirm that it started correctly. Please 'tail twistd.log' and look for a
2015-10-14 08:48:49-0700 [-] line that says 'BuildMaster is Running' to verify correct startup.
2015-10-14 08:48:49-0700 [-]
2015-10-14 08:48:49-0700 [-] Main loop terminated.
(sandbox)~/tmp/buildbot $ cat master/twistd.log
(sandbox)~/tmp/buildbot $
There are a fair number of warnings in there, but nothing reports an error. The log file is empty, as shown at the end there.
I'm not sure where to begin diagnosing. The tutorial lists Python and its dev pacakges, virtualenv, and git as dependencies, so:
~ $ python --version
Python 2.7.6
~ $ virtualenv --version
1.11.4
~ $ git --version
git version 1.9.1
~ $ apt-cache showpkg python-dev
Package: python-dev
Versions:
2.7.5-5ubuntu3 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages) (/var/lib/dpkg/status)
How do I begin diagnosing this?
The firstrun example in the Buildbot documentation didn't work for me neither. I've tried with last tutorial from Buildbot and it works. It uses pip instead of easy_install:
When running
sudo /usr/bin/perl install-module.pl mod_perl2
command to install mod_perl for installing bugzilla in apache2 Ubuntu. I got the following error. I have installed apache2 ,MySql and Perl.
Checking for CPAN (v1.81) ok: found v1.960001
Checking for YAML (any) ok: found v0.84
Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.82
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 20 Nov 2013 19:08:54 GMT
Installing mod_perl2 version 2.000008...
Running install for module 'mod_perl2'
Running make for P/PH/PHRED/mod_perl-2.0.8.tar.gz
Checksum for /root/.cpan/source/authors/id/P/PH/PHRED/mod_perl-2.0.8.tar.gz ok
CPAN.pm: Going to build P/PH/PHRED/mod_perl-2.0.8.tar.gz
Reading Makefile.PL args from #ARGV
no conflicting prior mod_perl version found - good.
************* WARNING *************
Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/x86_64-linux-gnu/libgdbm.so.3.0.0
************* WARNING *************
Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.
If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):
Please provide the location of the Apache directory:
[ error] Can't find dir ''
Please provide the location of the Apache directory:
[ error] Can't find dir ''
To resolve the perl lib issue, cd /usr/lib/x86_64-linux-gnu/ then link libgdbm.so.3.0.0 to libgdbm.so.
ln -s libgdbm.so.3.0.0 libgdbm.so.
That should clear up the first warning.
For the apxs issue, you need to install apache2-dev.
on Ubuntu use the following command
sudo apt-get install apache2-dev
Rerun and that should correct it.
My ultimate goal is to run a twiki website for my research group.
I have space on RedHat server that is running Apache, etc., but upon which I do not have root access. Since I cannot install perl modules with the current permissions, I've decided to manually install a local version of perl. Got that working no problem. The following modules are required to get twiki to work:
FreezeThaw - http://search.cpan.org/~ilyaz/FreezeThaw
CGI::Session - http://search.cpan.org/~markstos/CGI-Session
Error - http://search.cpan.org/~shlomif/Error
GD - http://search.cpan.org/~lds/GD
HTML::Tree - http://search.cpan.org/~petek/HTML-Tree
Time-modules - http://search.cpan.org/~muir/Time-modules
I have installed FreezeThaw, CGI, Error, and it fails on GD with the following error:
UNRECOVERABLE ERROR Could not find gdlib-config in the search path.
Please install libgd 2.0.28 or higher. If you want to try to
compile anyway, please rerun this script with the option --ignore_missing_gd.
In searching for how to get around this newest obstacle, I found a previous SO question: How to install GD library with Strawberry Perl asked about installing this and the top answer suggested manually compiling gdlib. You'll note, however, that that link is broken. The base site: http://www.libgd.org/ is basically down saying to go to the project's bitbucket page.
So I got the tarball from that page and am trying to install it. The following problems occur when I follow the instructions included. README.TXT says: "If the sources have been fetched from CVS, run bootstrap.sh [options]."
Running bootstrap.sh yields:
configure.ac:64: warning: macro `AM_ICONV' not found in library
configure.ac:10: required directory ./config does not exist cp: cannot
create regular file `config/config.guess': No such file or directory
configure.ac:11: installing `config/config.guess' configure.ac:11:
error while copying cp: cannot create regular file
`config/config.sub': No such file or directory configure.ac:11:
installing `config/config.sub' configure.ac:11: error while
copying cp: cannot create regular file `config/install-sh': No such
file or directory configure.ac:28: installing `config/install-sh'
configure.ac:28: error while copying cp: cannot create regular
file `config/missing': No such file or directory configure.ac:28:
installing `config/missing' configure.ac:28: error while copying
configure.ac:577: required file `config/Makefile.in' not found
configure.ac:577: required file `config/gdlib-config.in' not found
configure.ac:577: required file `test/Makefile.in' not found
Makefile.am:14: Libtool library used but `LIBTOOL' is undefined
Makefile.am:14: The usual way to define `LIBTOOL' is to add
AC_PROG_LIBTOOL' Makefile.am:14: to configure.ac' and run
aclocal' and autoconf' again. Makefile.am:14: If `AC_PROG_LIBTOOL'
is in `configure.ac', make sure Makefile.am:14: its definition is in
aclocal's search path. cp: cannot create regular file
`config/depcomp': No such file or directory Makefile.am: installing
`config/depcomp' Makefile.am: error while copying Failed
And it says I should also install the following 3rd party libraries:
zlib, available from http://www.gzip.org/zlib/
Data compression library
libpng, available from http://www.libpng.org/pub/png/
Portable Network Graphics library; requires zlib
FreeType 2.x, available from http://www.freetype.org/
Free, high-quality, and portable font engine
JPEG library, available from http://www.ijg.org/
Portable JPEG compression/decompression library
XPM, available from http://koala.ilog.fr/lehors/xpm.html
X Pixmap library
Which I am ignoring for now.
Switching to the generic instructions it says follow the advice in the INSTALL file; which says: "cd to the directory containing the package's source code and type ./configure to configure the package for your system." Which flat does not work: I've cd'ed into every directory of the tarball and running that command does nothing.
So, trying to install twiki required me to install perl, which required me to install the perl modules: FreezeThaw, CGI, Error, HTML, Time-modules, and GD -- which itself required me to install gdlib -- which further suggested I install zlib, libpng, FreeType 2.x, JPEG library, and XPM. And of course, I'm stuck at the installing gdlib stage.
My question is: what other process can possibly demean humanity to such a level? I cannot fathom the depths of cruelty that lay ahead of me as I dive ever deeper into this misery onion. Should I just end it all? Can meaning be brought from this madness? Will the sun come up tomorrow, and if so, does it even matter?
But seriously, any suggestions on what to do differently/better would be much appreciated -- I can't remember what a child's laughter sounds like anymore.
Install the package gd-devel, it contains /usr/bin/gdlib-config.
This should work:
sudo apt-get -y install libgd2-xpm-dev build-essential