How to install a built adchpp

General adchpp discussion

Moderator: Moderators

Locked
Dolda2000
Posts: 20
Joined: 2003-11-12 20:11
Location: Täby, Sweden
Contact:

How to install a built adchpp

Post by Dolda2000 » 2006-09-11 13:50

I managed to build adchpp properly, but now I can't really figure out how to install it properly. Adchpp is the first place I ever heard of scons, so I don't really know what the equivalent command of `make install' would be with scons (`scons install' did indeed not work, and neither scons -h nor the scons manpage appear to give any explicit help on installing).

Am I just supposed to do it manually? In that case, where should all the different files go? There are a lot of more or less weird files in the build/debug-default/bin directory, including a couple of shared objects, C++ and python source code and ".os" files, which appear to be ELF reloc objects, and I'm not sure all those files are even supposed to be installed.

If I just try to start the built adchpp binary, it complains about missing files, but it doesn't say which files are missing...

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 17:15

Post by arnetheduck » 2006-09-12 03:53

try adchppd -c <path> (default /etc/adchpp/ on linux)

Dolda2000
Posts: 20
Joined: 2003-11-12 20:11
Location: Täby, Sweden
Contact:

Post by Dolda2000 » 2006-09-14 11:26

Does that mean that adchpp is the only file that needs to be installed apart from any configuration files?

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 17:15

Post by arnetheduck » 2006-09-14 13:58

the .so files are plugins or script interfaces - currently lua is working and python almost, so you'll need (some of) those as well depending on your needs...

Dolda2000
Posts: 20
Joined: 2003-11-12 20:11
Location: Täby, Sweden
Contact:

Post by Dolda2000 » 2006-09-15 18:37

I see. I don't actually need scripting (I just want adchpp to implement ADC in my client), but if I were to change my mind, where does the program look for them? Anywhere in my LD_LIBRARY_PATH?

EDIT: I strace'd it and looked for myself, and it does indeed look in my LD_LIBRARY_PATH.

poy
Posts: 83
Joined: 2006-04-03 15:55

Post by poy » 2006-09-16 18:39

Dolda2000 wrote:(I just want adchpp to implement ADC in my client)
if you only need to be able to connect to ADC hubs with a client like DC++, you can already use DC++ without the need of any plugin; it can already connect to ADC hubs.

Locked