Main index > Installation problems > distributing binaries (fedora core 3)? [CLOSED]

By poiuytrewq (User), on Tue Apr 5 16:19:14 2005: distributing binaries (fedora core 3)? [CLOSED].

hi there. im having one hell of a time trying to get adesklets to make. is there any chance you guys might make a binary avalible for download? ever better, an rpm? i386 for fc3?

By syfou (Core Developer & Desklet Author), on Tue Apr 5 16:55:00 2005.

adesklets is fairly portable now. It compiles and run without a hitch on about anything POSIX, from linux to a large pool of BSD's, either open source or commercial... I am running it right now on a IRIX box. Many people I know (Jeepston from this forum for instance) runs it successfully on Fedora Core 3 - maybe one of them can hand over its files, provided they use the same host (x86) than you do.

But I am affraid I cannot start myself packaging binaries: they would simply be too much of them to build. I took great care making a portable program, and documenting the installation procedure properly. I will be happy to assist you compiling it for yourself though (so feel free to post your problems here if you want to), or assisting anyone from the FC crowd willing to maintain for this community the rpm you just asked for.

By jeepston (Desklet Author), on Tue Apr 5 21:17:51 2005: Re: distributing binaries (fedora core 3)?.

poiuytrewq wrote:

hi there. im having one hell of a time trying to get adesklets to make. is there any chance you guys might make a binary avalible for download? ever better, an rpm? i386 for fc3?


Can you describe your problem with little more details?

PS. My Fedora died a couple of days ago... Don't know why... So now I'm on Ubuntu Hoary and still running adesklets :) But I can help with Fedora :wink:

By poiuytrewq (User), on Wed Apr 13 01:36:09 2005.

sorry for the delayed response.
$ ./configure ---> no problems
$ make --->problems
this is the tail end of the make output showing the errors. let me know if you want to see more:

...

Code:

 -f 'error.c' || echo './'`error.c; \
then mv -f ".deps/adesklets-error.Tpo" ".deps/adesklets-error.Po"; else rm -f ".deps/adesklets-error.Tpo"; exit 1; fi
gcc  -O2 -std=c99 -pedantic -Wall -DPKGDATADIR=\"/usr/local/share/adesklets\"   -o adesklets -L/usr/X11R6/lib  -lX11 -L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm -lncurses -lreadline -lhistory -lfontconfig   adesklets-main.o adesklets-adesklets.o adesklets-xwindow.o adesklets-xmenu.o adesklets-cfgfile.o adesklets-cfg_parser.o adesklets-cfg_scanner.o adesklets-command.o adesklets-event.o adesklets-variable.o adesklets-vector.o adesklets-vector_free.o adesklets-tree.o adesklets-error.o -lSM -lICE
adesklets-adesklets.o(.text+0x4a8a): In function `adesklets_events_loop':
: undefined reference to `remove_history'
adesklets-adesklets.o(.text+0x4edd): In function `adesklets_events_loop':
: undefined reference to `history_list'
adesklets-adesklets.o(.text+0x7194): In function `adesklets_events_loop':
: undefined reference to `remove_history'
adesklets-adesklets.o(.text+0x76fa): In function `adesklets_free':
: undefined reference to `rl_callback_handler_remove'
adesklets-command.o(.text+0x387): In function `history_size':
: undefined reference to `history_get_history_state'
adesklets-command.o(.text+0x883): In function `command_completion':
: undefined reference to `rl_attempted_completion_over'
adesklets-command.o(.text+0x89a): In function `command_completion':
: undefined reference to `rl_line_buffer'
adesklets-command.o(.text+0x8ab): In function `command_completion':
: undefined reference to `rl_line_buffer'
adesklets-command.o(.text+0x908): In function `command_completion':
: undefined reference to `rl_completion_matches'
adesklets-command.o(.text+0x9c1): In function `readline_process_line_callback':
: undefined reference to `add_history'
adesklets-command.o(.text+0xa0a): In function `command_interpreter_reset':
: undefined reference to `rl_attempted_completion_function'
adesklets-command.o(.text+0xa29): In function `command_interpreter_reset':
: undefined reference to `rl_callback_handler_install'
adesklets-command.o(.text+0xab1): In function `command_replayer':
: undefined reference to `history_get'
adesklets-command.o(.text+0xce5): In function `command_interpreter':
: undefined reference to `rl_callback_read_char'
adesklets-command.o(.text+0x9e0): In function `readline_process_line_callback':
: undefined reference to `rl_callback_handler_remove'
adesklets-command.o(.rodata+0x8c): undefined reference to `rl_filename_completion_function'
adesklets-command.o(.rodata+0x2fc): undefined reference to `rl_filename_completion_function'
adesklets-command.o(.rodata+0x308): undefined reference to `rl_filename_completion_function'
adesklets-command.o(.rodata+0x314): undefined reference to `rl_filename_completion_function'
adesklets-command.o(.rodata+0x380): undefined reference to `rl_filename_completion_function'
collect2: ld returned 1 exit status
make[2]: *** [adesklets] Error 1
make[2]: Leaving directory `/home/user/Desktop/adesklets-0.4.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/Desktop/adesklets-0.4.7/src'
make: *** [all-recursive] Error 1

By syfou (Core Developer & Desklet Author), on Wed Apr 13 02:25:43 2005.

All problems here are readline-related: it seems your installed library doesn't match your compile-time headers: compilation went ok, but final linking failed... What version of readline do you have installed? What does:

Code:


ls -lh /lib/libreadline*


give you? Normally, you shouldn't have problem with any GNU readline >= 4.0 on linux.

On a side note, you should give configure the proper prefix (it will not have effect on this though):

Code:


./configure --prefix=/usr



I suggest you try reinstalling readline, just to make sure. If it doesn't solve this, I would need your config.log. Just email it to me (syfou@users.sourceforge.net).

This is not a big deal, and I could (and will) assit you solving this in a step by step fashion if I have to, but I am interrested in knowing how it happens, so I can fix it for a potentially larger public. Need to go to be now. :-) Talk to you in a few hours?

By poiuytrewq (User), on Thu Apr 14 06:13:55 2005.

$ ls -lh /lib/libreadline*
lrwxrwxrwx 1 root root 18 Mar 27 00:18 /lib/libreadline.so.4 -> libreadline.so.4.3
-rwxr-xr-x 1 root root 177K Mar 13 2003 /lib/libreadline.so.4.3



adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.