Menu

#12 Install script error

open
nobody
5
2006-11-09
2006-11-09
Anonymous
No

slax # ./INSTALL.sh
+ KOJONEY_PATH=/usr/share/kojoney
+ echo Kojoney Honeypot installer.
Kojoney Honeypot installer.
+ echo

+ echo 'Press enter to view the license agreement(s) ...'
Press enter to view the license agreement(s) ...
+ read

+ more LICENSE libs/license.zop libs/twisted.license
::::::::::::::
LICENSE
::::::::::::::
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim
copies
of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take
away your
freedom to share and change it. By contrast, the GNU
General Public
License is intended to guarantee your freedom to share
and change free
software--to make sure the software is free for all its
users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose
authors commit to
using it. (Some other Free Software Foundation
software is covered by
the GNU Library General Public License instead.) You
can apply it to
your programs, too.

When we speak of free software, we are referring to
freedom, not
price. Our General Public Licenses are designed to
make sure that you
have the freedom to distribute copies of free software
(and charge for
this service if you wish), that you receive source code
or can get it
if you want it, that you can change the software or use
pieces of it
in new free programs; and that you know you can do
these things.

To protect your rights, we need to make restrictions
that forbid
anyone to deny you these rights or to ask you to
surrender the rights.
These restrictions translate to certain
responsibilities for you if you
distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a
program, whether
gratis or for a fee, you must give the recipients all
the rights that
you have. You must make sure that they, too, receive
or can get the
source code. And you must show them these terms so
they know their
rights.

We protect your rights with two steps: (1) copyright
the software, and
(2) offer you this license which gives you legal
permission to copy,
distribute and/or modify the software.
+ echo -e 'Do you accept the ZPL, MIT and GPL license
terms (yes/no) ?'
Do you accept the ZPL, MIT and GPL license terms (yes/no) ?
+ read license_accept
yes
+ '[' yes = yes ']'
+ echo All licenses accepted
All licenses accepted
+ echo

+ clear
+ echo '******************************************'
******************************************
+ echo ' Kojoney Honeypot Installer version 0.0.3 '
Kojoney Honeypot Installer version 0.0.3
+ echo '******************************************'
******************************************
+ echo

+ '[' -d /usr/share/kojoney ']'
+ mkdir /usr/share/kojoney
+ '[' -d /etc/kojoney ']'
+ mkdir /etc/kojoney
+ echo 'Step 1 - Copying files'
Step 1 - Copying files
+ cp coret_command.py coret_config.py coret_fake.py
coret_honey.py coret_log.py coret_std_unix.py
coret_users.py kojoney.py /usr/share/kojoney
+ cp fake_users /etc/kojoney
+ cp -f reports/ip_country reports/kip2country
reports/kojhumans reports/kojreport
reports/kojreport-filter reports/kojsession
/usr/share/kojoney
++ mktemp -d
+ temp_dir=/tmp/tmp.ahBJD8
+ echo ' [+] Working on temp directory /tmp/tmp.ahBJD8'
[+] Working on temp directory /tmp/tmp.ahBJD8
+ echo ' [+] Copying base libraries'
[+] Copying base libraries
+ cp -f libs/TwisteConch-0.6.0.tar.gz
libs/Twisted-2.2.0.tar.gz
libs/ZopeInterface-3.0.1.tar.gz libs/license.zope
libs/pycrypto-2.0.1.tar.gz libs/twisted.license
/tmp/tmp.ahBJD8
+ echo ' [+] Copying optional libraries'
[+] Copying optional libraries
+ cp -f
reports/ip_country/Geography-Countries-1.4.tar.gz
reports/ip_country/IP-Country-2.21.tar.gz /tmp/tmp.ahBJD8
++ pwd
+ old_dir=/root/Desktop/kojoney
+ cd /tmp/tmp.ahBJD8
+ echo ' [+] Extracting libraries in temporary directory'
[+] Extracting libraries in temporary directory
+ find . -name '*.tar.gz' -exec tar -xzf '{}' ';'
+ echo 'Step 2 - Building libraries'
Step 2 - Building libraries
+ echo ' [+] Building and installing [IP-Country]'
[+] Building and installing [IP-Country]
+ cd IP-Country-2.21 IP-Country-2.21.tar.gz
+ perl Makefile.PL
+ make
+ make install
+ cd /tmp/tmp.ahBJD8
+ cd Geography-Countries-1.4 Geography-Countries-1.4.tar.gz
+ echo ' [+] Building and installing [Geography-Countries]'
[+] Building and installing [Geography-Countries]
+ perl Makefile.PL
+ make
+ make install
+ cd /tmp/tmp.ahBJD8
+ cd ZopeInterface-3.0.1 ZopeInterface-3.0.1.tar.gz
+ echo ' [+] Building and installing [Zope Interfaces]'
[+] Building and installing [Zope Interfaces]
+ python setup.py build
+ python setup.py install
+ cd /tmp/tmp.ahBJD8
+ cd Twisted-2.2.0 Twisted-2.2.0.tar.gz
+ echo ' [+] Building and installing [Twisted extension]'
[+] Building and installing [Twisted extension]
+ python setup.py build
+ python setup.py install
+ cd /tmp/tmp.ahBJD8
+ cd pycrypto-2.0.1 pycrypto-2.0.1.tar.gz
+ echo ' [+] Building and installing [PyCrypto]'
[+] Building and installing [PyCrypto]
+ python setup.py build
In file included from /usr/include/python2.4/Python.h:8,
from src/MD2.c:15:
/usr/include/python2.4/pyconfig.h:835:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
from src/MD2.c:14:
/usr/include/features.h:190:1: warning: this is the
location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
from src/MD4.c:15:
/usr/include/python2.4/pyconfig.h:835:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
from src/MD4.c:14:
/usr/include/features.h:190:1: warning: this is the
location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
from src/RIPEMD.c:19:
/usr/include/python2.4/pyconfig.h:835:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
from src/RIPEMD.c:18:
/usr/include/features.h:190:1: warning: this is the
location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
from src/AES.c:29:
/usr/include/python2.4/pyconfig.h:835:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/assert.h:36,
from src/AES.c:27:
/usr/include/features.h:190:1: warning: this is the
location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
from src/block_template.c:23,
from src/ARC2.c:185:
/usr/include/python2.4/pyconfig.h:835:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
from src/ARC2.c:13:
/usr/include/features.h:190:1: warning: this is the
location of the previous definition
In file included from /usr/include/python2.4/Python.h:8,
from src/_fastmath.c:16:
/usr/include/python2.4/pyconfig.h:835:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdio.h:28,
from src/_fastmath.c:14:
/usr/include/features.h:190:1: warning: this is the
location of the previous definition
+ python setup.py install
+ cd /tmp/tmp.ahBJD8
+ cd TwistedConch-0.6.0
+ echo ' [+] Building and installing [Twisted Conch
extension]'
[+] Building and installing [Twisted Conch extension]
+ python setup.py build
Traceback (most recent call last):
File "setup.py", line 43, in ?
long_description="""\
File
"/usr/lib/python2.4/site-packages/twisted/python/dist.py",
line 41, in setup
kw['version'] = getVersion(projname)
File
"/usr/lib/python2.4/site-packages/twisted/python/dist.py",
line 92, in getVersion
execfile(vfile, ns)
IOError: [Errno 2] No such file or directory:
'twisted/conch/_version.py'
+ die 'Step 2'
+ echo Error at Step 2
Error at Step 2
+ echo Kojoney installation failed
Kojoney installation failed
+ exit 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Please, provide Python version and also Slax version.
    Without it I can't look into it. Anyway, I will download a
    recent Slax version to try reproducing the problem.

     
  • Nobody/Anonymous

    Logged In: NO

    Looks like a Twisted Conch libraries problem. I will take a look into it.

    Thanks for reporting.

     

Log in to post a comment.

Auth0 Logo