View previous topic :: View next topic |
Author |
Message |
kieeps Voice
Joined: 02 Nov 2007 Posts: 2
|
Posted: Fri Nov 02, 2007 1:23 pm Post subject: Megahal install issus |
|
|
Ok. i started with installing eggdrop v1.6.18 and made it work like it should before i stated thinking about megahal but now when eggdrop works i cannot get megahal to work....
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: | 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$ |
Then i went in to the Megahal folder inside that one and wrote
and got this:
Code: | 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
|
Then i wrote Make
Code: |
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
|
And then i wrote Make test
Code: | eggdrop@svenz00r:~/swepirates/src/mod/megahal-9.1.1/Megahal$ make test
No tests defined for Megahal extension. |
then i wrote make install
Code: | 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
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#
|
And I found a doc on the megahal Wiki:
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 |
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? |
|
Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Nov 02, 2007 1:40 pm Post subject: |
|
|
Try running it from the top directory as instructed (4. Go back to your ~/eggdrop1.6.x directory ) |
|
Back to top |
|
 |
kieeps Voice
Joined: 02 Nov 2007 Posts: 2
|
Posted: Fri Nov 02, 2007 1:45 pm Post subject: |
|
|
rosc2112 wrote: | Try running it from the top directory as instructed (4. Go back to your ~/eggdrop1.6.x directory ) |
Thanks for fast response
Code: | svenz00r:/home/eggdrop/swepirates# make config
Checking for removed modules.................... done.
Detecting modules.................... done.
Calculating dependencies.................. done.
Building ./src/mod/Makefile... failed.
modconfig: error: make file template not found.
make: *** [config] Error 1 |
|
|
Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Nov 02, 2007 10:34 pm Post subject: |
|
|
Did you run ./configure for the eggdrop? I think that package expects you to have already run ./configure for eggdrop, which will then make the Makefiles in the subdirs. |
|
Back to top |
|
 |
|