This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

noob question about compiling

Old posts that have not been replied to for several years.
Locked
d
darius

noob question about compiling

Post by darius »

Hi,

I'm pretty new to linux/unix. Can someone tell me how I compile the eggdrop with all the libraries it requires compiled into the exe?

So I don't get errors like, 'missing shared object libtcl83.so..1 not found'

Thanks
darius
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

You have to have tcl installed on your system - install and try then. If it is allready installed tho, then try configure with --with-tcllib and --with-tcllinc.

Infact, read ./configure --help to get more info.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
d
darius

Post by darius »

tcl isn't deployed on the target system. Is there a way of encoperating the tcl libraries into the exe?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes.

Compiling with "make static" instead of just "make"
d
darius

Post by darius »

cheers thanks very much.

I appologise for my noobness :)
d
darius

Post by darius »

ah

Seems I was a little premature, I still get 'missing shared object libtcl83.so..1 not found'.

Although the exe is bigger. I saw a precomiled one on the web that was about 2mb. This worked and must have had the tcl lib compiled in. But obviously I want to compile my own.

Any more ideas?

Cheers
Rich
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Is there any particular reason behind compiling your own?

On top of this, is there any reason why your can't compile Tcl on the system yoruself?
d
darius

Post by darius »

ppslim wrote:Is there any particular reason behind compiling your own?

On top of this, is there any reason why your can't compile Tcl on the system yoruself?
I'm compiling my own as they recommend doing this in he read me. Also I intend to write some modules.

I can't install tcl on the system as the system I plan to run the bot on, I don't have permission to install it. But I can run various things, one of things I can run is a bot.

For this to work I need the code & tcl library compiled into one file.

Is this possible?

Cheers
darius
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Too be perfectly honest. It's practicaly the same thing, with the requirment of a little more quota.

From memory, reading the eggheads mailing list.

You need to have a static compilation of Tcl as well. Once this is done, you can staticaly compile eggdrop.

Speak to the owner of the system again.

It would be far simpler to compile Tcl on the system, which can even be done in your own home directory. Then compile eggdrop from this.

Or are we talking exploits here.
d
darius

Post by darius »

i don't have the ability to compile on the target machine.

Exploit, well I suppose I am. I found I can log into my webserver via ssh. I can run code on their systems. TCL is not installed. I can't make on their system, but a notice pops up saying please use your own systems for development. Which is what I've done.

As far as I know they don't hav a problem with me running code, just compiling stuff.

Not really sure how to buid a static buid of tcl. As I mentioned I'm pretty new to the world of linux/unix

Any further help would be appriciated.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I seriously suggest you read your web providers terms and conditions.

Many providers refuse to allow background processes, which eggdrop is.

The main purpose of SSH access is for crontab, command line utilities (like mysql, htpasswd and others) and working with files directly.

You may also find, that the polocy prevents you making connections outside of the web providers network (serving web-pages is incoming).

As well as this, you should not be surprised when your providers kills your account, without warning, which they could be entitled to do.
Locked