Article View: news.software.readers
Article #203615Re: [slrn] X-Face Display
From: Blinky the Shark
Date: Sun, 12 Aug 2007 12:18
Date: Sun, 12 Aug 2007 12:18
87 lines
3643 bytes
3643 bytes
Gunnar Gren wrote:
> Blinky the Shark wrote:
>> I'm getting:
>
>
>> loading /slrn/macros/slrnface.sl
>
>
>> Using newsrc file /mnt/LEXAR/xnews/NIN.newsrc for server news.individual.net.sh: slrnface: command not found
>
> And the path to slrnface is set in your news.individual.net.sh script?
It was in the macro directory set in .slrnrc, with all my other macros
whose locations don't need to be set in that shell script.
BUT...I've started this project from scratch, as of tonight.
When I run make for the slrnface package, I get this error ------>
[root@thurston slrnface-2.1.1]# make
cc -O -o slrnface slrnface.c -L/usr/lib -lcompface -lXt -lX11
/usr/bin/ld: cannot find -lcompface
collect2: ld returned 1 exit status
make: *** [slrnface] Error 1
========================================================
Here are libcompface files ----------------------------->
[root@thurston slrnface-2.1.1]# locate compface
/usr/lib/libcompface.so.0.0.0
/usr/lib/libcompface.so.0
==========================================================
They're in /usr/lib/
Here is the Makefile ------------------------------------>
CC = cc
X_INCL = # location of X include files, if needed
# A lot of popular terminals are brain damaged, so we cannot use X
# resources for configuration. In those cases Xt routines won't even be
# called, so you might want to use lazy loading for Xt if your OS supports it.
X_LIBS = -lXt -lX11 # X libs
XF_LIB = -L/usr/lib -lcompface # compface library
C_FLAGS = -O
prefix = /usr/local
# No need to configure anything below.
CFLAGS = $(C_FLAGS) $(X_INCL)
LDFLAGS = $(XF_LIB) $(X_LIBS)
slrnface: slrnface.c
$(CC) $(CFLAGS) -o slrnface slrnface.c $(LDFLAGS)
clean:
rm -f *.o core slrnface
install: slrnface
mkdir -p $(prefix)/bin
mkdir -p $(prefix)/man/man1
mkdir -p $(prefix)/share/slrn/macros
cp slrnface $(prefix)/bin
cp slrnface.1 $(prefix)/man/man1
cp slrnface.sl $(prefix)/share/slrn/macros
==========================================================
Makefile seems to expect compface library in /usr/lib, which is where
they are.
What's wrong?
--
Blinky RLU 297263
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID:
<slrnfbtun0.kfp.no.spam@thurston.blinkynet.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnfbqglk.c5l.no.spam@thurston.blinkynet.net> <slrnfbqhai.cet.no.spam@thurston.blinkynet.net> <46bec72a$0$37840$c5fe31e7@reader.usenet4all.se>Show Full Headers
Complete Article Headers
Message-ID: <slrnfbtun0.kfp.no.spam@thurston.blinkynet.net> Subject: Re: [slrn] X-Face Display Date: Sun, 12 Aug 2007 12:18:46 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <slrnfbqglk.c5l.no.spam@thurston.blinkynet.net> <slrnfbqhai.cet.no.spam@thurston.blinkynet.net> <46bec72a$0$37840$c5fe31e7@reader.usenet4all.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 87 X-Trace: individual.net 8YNNehLNSkjfje75HsPqrg3mKLxin4YgrwylzH88JBlHsO9CSM Cancel-Lock: sha1:RCTGUNxmUxMlPT4sLZ3NTIGeELA= X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1 (Linux)