> liuziquan wrote:
>
> > I build on Redhat linux 9, and compiling/installing as root, and already 
> > compiled and installed the complete fltk-1.3.x-r6671 successfully.
> >
> > The full installed process is:
> > First, compile and install fltk-1.3.x-r6671 as belows,
> > [r...@localhost fltk-1.3.x-r6671]# pwd
> > /work/fltk-1.3.x-r6671
> > [r...@localhost fltk-1.3.x-r6671]# ./configure --prefix=$HOME/tmp
> > [r...@localhost fltk-1.3.x-r6671]# make
> > [r...@localhost fltk-1.3.x-r6671]# make install
> >
> > and the install is success.
> > [r...@localhost fltk-1.3.x-r6671]# fltk-config --version
> > 1.3.0
>
> That's okay. configure, make, make install. And that's it ;-)
>
> > Second, compile and install xutf8 as belows,
>
> Please don't do this. It's not necessary, and the Makefile
> is old and obsolete.
>
> > [r...@localhost fltk-1.3.x-r6671]# cd src/xutf8/
> > [r...@localhost xutf8]# pwd
> > /work/fltk-1.3.x-r6671/src/xutf8
> >
> > [r...@localhost xutf8]# make
> > Archiving ../../lib/libfltk_xutf8.a...
> >
> > [r...@localhost xutf8]# make install
> > Installing libfltk_xutf8.a in /root/tmp/lib...
> > make: execvp: /root/tmp/lib: Permission denied
> > make: execvp: ../../lib/libfltk_xutf8.a: Permission denied
> > make: *** [install] Error 127
> >
> > What's the error "execvp: /root/tmp/lib: Permission denied" mean?
>
> I don't know exactly why there is a "Permission denied" error, but
> probably the directory /root/tmp/lib does not exist. But don't
> create it! As I said before, this Makefile is outdated!
>
> Why did you think that you need to do this?
>
> Albrecht

Because I wanna to use the wonderful widget Fl_Table. As I download it in 
"http://seriss.com/people/erco/fltk/Fl_Table/";, and uncomment the "USEUTF8=.." 
line in "Makefile.<PLATFORM>" to support utf8. When compile it, something wrong 
as belows,
----------------------------------------
[r...@localhost Fl_Table-3.12]# pwd
/root/LEARN/Fl_Table-3.12
[r...@localhost Fl_Table-3.12]# make
g++ -g -Wall -I. -DLINUX=1 -DUSEUTF8=1  -I/root/LEARN/fltk-1.3.x-r6700/src -c 
Fl_Table.cxx
g++ -g -Wall -I. -DLINUX=1 -DUSEUTF8=1  -I/root/LEARN/fltk-1.3.x-r6700/src -c 
Fl_Table_Row.cxx
g++ -g -Wall -I. -DLINUX=1 -DUSEUTF8=1  -I/root/LEARN/fltk-1.3.x-r6700/src 
testtablerow.cxx -o testtablerow Fl_Table.o Fl_Table_Row.o 
-L/root/LEARN/fltk-1.3.x-r6700/src/lib -lfltk -L/usr/X11R6/lib -lXtst -lXft 
-lX11 -lXext -lXutf8 -lm
/usr/bin/ld: cannot find -lXutf8
collect2: ld returned 1 exit status
make: *** [testtablerow] Error 1
----------------------------------------

The above error "cannot find -lXutf8", maybe the Xutf8 not installed successful?

Then I tried to compile and install Xutf8 in fltk-1.3.x-r6671 source,
and so meeted the error.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to