This i s what i did.
first of i downloaded the megahal-9.1.1.tar.gz to the src/mod dir and decompressed it (tar zxvf)
Code: Select all
eggdrop@svenz00r:~/swepirates/src/mod$ tar zxvf megahal-9.1.1\(2\).tar.gz
megahal-9.1.1/
megahal-9.1.1/Megahal/
megahal-9.1.1/Megahal/MANIFEST
megahal-9.1.1/Megahal/Changes
megahal-9.1.1/Megahal/Megahal.xs
megahal-9.1.1/Megahal/Makefile.PL
megahal-9.1.1/Megahal/Makefile.old
megahal-9.1.1/Megahal/Megahal.pm
megahal-9.1.1/Megahal/README
megahal-9.1.1/Megahal/const-c.inc
megahal-9.1.1/Megahal/const-xs.inc
megahal-9.1.1/Megahal/megahal.c
megahal-9.1.1/Megahal/megahal.h
megahal-9.1.1/Megahal/ppport.h
megahal-9.1.1/ChangeLog
megahal-9.1.1/LICENSE.TXT
megahal-9.1.1/Makefile
megahal-9.1.1/VERSION
megahal-9.1.1/cvsversion.tcl
megahal-9.1.1/debug.c
megahal-9.1.1/debug.h
megahal-9.1.1/guile-interface.c
megahal-9.1.1/main.c
megahal-9.1.1/megahal.aux
megahal-9.1.1/megahal.ban
megahal-9.1.1/megahal.c
megahal-9.1.1/megahal.dic
megahal-9.1.1/megahal.grt
megahal-9.1.1/megahal.h
megahal-9.1.1/megahal.swp
megahal-9.1.1/megahal.trn
megahal-9.1.1/python-interface.c
megahal-9.1.1/tcl-interface.c
megahal-9.1.1/docs/
megahal-9.1.1/docs/README.TXT
megahal-9.1.1/docs/megahal.1
megahal-9.1.1/docs/megahal_interfaces.3
megahal-9.1.1/docs/paper.txt
megahal-9.1.1/.#Makefile.1.6
megahal-9.1.1/setup.py
eggdrop@svenz00r:~/swepirates/src/mod$
and got this:perl Makefile.PL
Code: Select all
eggdrop@svenz00r:~/swepirates/src/mod/megahal-9.1.1/Megahal$ perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
fallback/const-c.inc
fallback/const-xs.inc
Makefile
megahal.brn
Megahal.bs
Megahal.c
megahal.dic
megahal.log
Megahal.o
megahal.o
megahal.txt
pm_to_blib
t/1.t
Please inform the author.
Writing Makefile for Megahal
Code: Select all
eggdrop@svenz00r:~/swepirates/src/mod/megahal-9.1.1/Megahal$ make
cp Megahal.pm blib/lib/Megahal.pm
AutoSplitting blib/lib/Megahal.pm (blib/lib/auto/Megahal)
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap Megahal.xs > Megahal.xsc && mv Megahal.xsc Megahal.c
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC "-I/usr/lib/perl/5.8/CORE" Megahal.c
In file included from Megahal.xs:5:
ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from Megahal.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of the previous definition
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC "-I/usr/lib/perl/5.8/CORE" megahal.c
Running Mkbootstrap for Megahal ()
chmod 644 Megahal.bs
rm -f blib/arch/auto/Megahal/Megahal.so
cc -shared -L/usr/local/lib Megahal.o megahal.o -o blib/arch/auto/Megahal/Megahal.so \
\
chmod 755 blib/arch/auto/Megahal/Megahal.so
cp Megahal.bs blib/arch/auto/Megahal/Megahal.bs
chmod 644 blib/arch/auto/Megahal/Megahal.bs
Manifying blib/man3/Megahal.3pm
Code: Select all
eggdrop@svenz00r:~/swepirates/src/mod/megahal-9.1.1/Megahal$ make test
No tests defined for Megahal extension.
Code: Select all
svenz00r:/home/eggdrop/swepirates/src/mod/megahal-9.1.1/Megahal# make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/local/lib/perl/5.8.8/auto/Megahal/.packlist
Appending installation info to /usr/local/lib/perl/5.8.8/perllocal.pod
svenz00r:/home/eggdrop/swepirates/src/mod/megahal-9.1.1/Megahal#
Then what? where is the Megahal.so? where is anything? the doc sucks bigtime since i'w done everything in it atm
And I found a doc on the megahal Wiki:Megahal Doc wrote:
svenz00r:/home/eggdrop/swepirates/src/mod/megahal-9.1.1/Megahal# make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/local/lib/perl/5.8.8/auto/Megahal/.packlist
Appending installation info to /usr/local/lib/perl/5.8.8/perllocal.pod
svenz00r:/home/eggdrop/swepirates/src/mod/megahal-9.1.1/Megahal#
According to that one i' suppose to mode some Megahal.mod thingy to the modules dir but there is no megahal.mod....does anyone know what i did wrong?http://barkerjr.net/wiki/MegaHAL_Module wrote: 1. Obtain the package.
2. Place it in ~/eggdrop1.6.x/src/mod/
3. Decompress it: tar zxvf megahal.2.x.tar.gz
4. Go back to your ~/eggdrop1.6.x directory
5. make config
6. make
7. make install
8. Copy the megahal.??? files in src/mod/megahal.mod to your bot's directory
9. Edit you bot's *.conf file and add the line: loadmodule megahal
10. Rehash your bot