Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: yudit



On Thu, 3 Sep 1998, Gaspar Sinai wrote:

> Hi Scott,
> 
> How are things with Turbolinux?

pretty good, actually.  I just started the next beta cycle...

> 
> > OK, I like the idea of yudit.  BUT.  I got the yudit-1.1 source and the
> > motif enhancement, and built it.  I had to add a lot of flags to the
> > make command (like -I/usr/X11R6/include, which I really shouldn't need to
> > tell it.. it should know better!).  But, I got it to build against
> > lesstif.  However, where are all these fonts that it wants?  I don't seem
> > to have ANY of the ones that it's expecting...
> 
> Strange. Hopefully you did:
>  
>    tar xvfz yudit-1.1.tar.gz
>    cd yudit-1.1
>    tar xvfz ../yudit-motif-1.1.tar.gz
>    ./configure --prefix=/usr
>    make
> 

yeah, i did that.  It found the libraries correctly, but I had to give
make the following flags to make it build:

CXXFLAGS="-DHAVE_STRTOL=1 -I. -I/usr/X11R6/include -DDATA_DIR=\"/usr/share/yudit/data\""

and the same thing for CFLAGS as well.  


> Configure should figure out the compilation flags. It usualy does a good
> job, especially in Linux. On some systems it tries to figure out the
> motif libraries by doing an ldd mwm.
> 
> In the rare cases where ./configure screws up you can ass the flags listed
> in ./configure --help
> 
> Reading your second mail I could suspect the following failure points:
> 
> o you did not make install
> o you have an old installation which has an old ${HOME}.yuditrc
> o you built it in another machine and you did not start again. 
>   configure caches some values.
> 
> In any case if you can not figure out what is wrong, please send me
> directly the make messages  and confiugre.log.

Actually I was making an RPM out of it.  I'll just send you my .spec file,
if you want, but basically all it does is remove the old build dir,
untar-gz fresh source from yudit-1.1.tar.gz, then untar
yudit-motif-1.1.tar.gz inside the tree, then:

./configure --prefix=/usr --with-freetype-includes=/usr/include \
            --with-freetype-libraries=/usr/lib

and then runs make with the CXXFLAGS and CFLAGS set as above, and then
does:

make prefix=$RPM_BUILD_ROOT/usr install

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 10 October, Tokyo Station Yaesu central gate 12:30
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links