LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2005, 12:48 AM   #1
jmcdonald21
LQ Newbie
 
Registered: Jan 2005
Location: CT
Distribution: MandrakeLinux 10.1
Posts: 27

Rep: Reputation: 15
install/run F4L-Beta-0.2.tar.bz2 issue


I am new to linux, so I wasn't sure if I should put this in the noob's forum or here. Well... here it is anyway. I downloaded this program from sourceforge for creating flash. I have only installed one other program on Mandrake 10.1 since i've had it, and that was Firefox which did just about everything for me. Anyway, with that background info, I cd to the directory I uzipped the file to. I ran the ./configure like the read me file said. I typed make, then make install like the RM said, and all seemed to be good. I typed the make clear to remove the temps. So I think the program is installed, but I can't find it to run it. The readme said it defaulted installation to the /usr/local/bin and man, but alas, I cannot find it. Bear with me, I am used to Win XP doing the work and putting an icon on the desk for me to click. I would appreciate any help. Those of you who are experts beware, I have just begun to get use to a prompt, so please carry me gingerly along this path to enlightenment!


Registered: Jan 2005
Location: CT
Distribution: MandrakeLinux 10.1
Posts: 23
HCL Entries: 0
Reviews: 0/0

( post #2)

I have a little more to add... I attempted to reinstall the program and noticed some errors, I'm not sure if they were there before or not. I may have just made things more messed up but here is what I did this time:


These are the libraries it said I needed

[root@localhost jpeg-6b]# ./configure
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
[root@localhost jpeg-6b]# make
gcc -O2 -I. -c -o jcapimin.o jcapimin.c
gcc -O2 -I. -c -o jcapistd.o jcapistd.c
gcc -O2 -I. -c -o jctrans.o jctrans.c
gcc -O2 -I. -c -o jcparam.o jcparam.c
gcc -O2 -I. -c -o jdatadst.o jdatadst.c
gcc -O2 -I. -c -o jcinit.o jcinit.c
gcc -O2 -I. -c -o jcmaster.o jcmaster.c
gcc -O2 -I. -c -o jcmarker.o jcmarker.c
gcc -O2 -I. -c -o jcmainct.o jcmainct.c
gcc -O2 -I. -c -o jcprepct.o jcprepct.c
gcc -O2 -I. -c -o jccoefct.o jccoefct.c
gcc -O2 -I. -c -o jccolor.o jccolor.c
gcc -O2 -I. -c -o jcsample.o jcsample.c
gcc -O2 -I. -c -o jchuff.o jchuff.c
gcc -O2 -I. -c -o jcphuff.o jcphuff.c
gcc -O2 -I. -c -o jcdctmgr.o jcdctmgr.c
gcc -O2 -I. -c -o jfdctfst.o jfdctfst.c
gcc -O2 -I. -c -o jfdctflt.o jfdctflt.c
gcc -O2 -I. -c -o jfdctint.o jfdctint.c
gcc -O2 -I. -c -o jdapimin.o jdapimin.c
gcc -O2 -I. -c -o jdapistd.o jdapistd.c
gcc -O2 -I. -c -o jdtrans.o jdtrans.c
gcc -O2 -I. -c -o jdatasrc.o jdatasrc.c
gcc -O2 -I. -c -o jdmaster.o jdmaster.c
gcc -O2 -I. -c -o jdinput.o jdinput.c
gcc -O2 -I. -c -o jdmarker.o jdmarker.c
gcc -O2 -I. -c -o jdhuff.o jdhuff.c
gcc -O2 -I. -c -o jdphuff.o jdphuff.c
gcc -O2 -I. -c -o jdmainct.o jdmainct.c
gcc -O2 -I. -c -o jdcoefct.o jdcoefct.c
gcc -O2 -I. -c -o jdpostct.o jdpostct.c
gcc -O2 -I. -c -o jddctmgr.o jddctmgr.c
gcc -O2 -I. -c -o jidctfst.o jidctfst.c
gcc -O2 -I. -c -o jidctflt.o jidctflt.c
gcc -O2 -I. -c -o jidctint.o jidctint.c
gcc -O2 -I. -c -o jidctred.o jidctred.c
gcc -O2 -I. -c -o jdsample.o jdsample.c
gcc -O2 -I. -c -o jdcolor.o jdcolor.c
gcc -O2 -I. -c -o jquant1.o jquant1.c
gcc -O2 -I. -c -o jquant2.o jquant2.c
gcc -O2 -I. -c -o jdmerge.o jdmerge.c
gcc -O2 -I. -c -o jcomapi.o jcomapi.c
gcc -O2 -I. -c -o jutils.o jutils.c
gcc -O2 -I. -c -o jerror.o jerror.c
gcc -O2 -I. -c -o jmemmgr.o jmemmgr.c
gcc -O2 -I. -c -o jmemnobs.o jmemnobs.c
rm -f libjpeg.a
ar rc libjpeg.a jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o
ranlib libjpeg.a
gcc -O2 -I. -c -o cjpeg.o cjpeg.c
gcc -O2 -I. -c -o rdppm.o rdppm.c
gcc -O2 -I. -c -o rdgif.o rdgif.c
gcc -O2 -I. -c -o rdtarga.o rdtarga.c
gcc -O2 -I. -c -o rdrle.o rdrle.c
gcc -O2 -I. -c -o rdbmp.o rdbmp.c
gcc -O2 -I. -c -o rdswitch.o rdswitch.c
gcc -O2 -I. -c -o cdjpeg.o cdjpeg.c
gcc -o cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o libjpeg.a
gcc -O2 -I. -c -o djpeg.o djpeg.c
gcc -O2 -I. -c -o wrppm.o wrppm.c
gcc -O2 -I. -c -o wrgif.o wrgif.c
gcc -O2 -I. -c -o wrtarga.o wrtarga.c
gcc -O2 -I. -c -o wrrle.o wrrle.c
gcc -O2 -I. -c -o wrbmp.o wrbmp.c
gcc -O2 -I. -c -o rdcolmap.o rdcolmap.c
gcc -o djpeg djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o libjpeg.a
gcc -O2 -I. -c -o jpegtran.o jpegtran.c
gcc -O2 -I. -c -o transupp.o transupp.c
gcc -o jpegtran jpegtran.o rdswitch.o cdjpeg.o transupp.o libjpeg.a
gcc -O2 -I. -c -o rdjpgcom.o rdjpgcom.c
gcc -o rdjpgcom rdjpgcom.o
gcc -O2 -I. -c -o wrjpgcom.o wrjpgcom.c
gcc -o wrjpgcom wrjpgcom.o
[root@localhost jpeg-6b]# make install
/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install: cannot create regular file `/usr/local/man/man1/cjpeg.1': No such file or directory
make: *** [install] Error 1
[root@localhost jpeg-6b]# make install
/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install: cannot create regular file `/usr/local/man/man1/cjpeg.1': No such file or directory
make: *** [install] Error 1


this is the flash program itself trying to be installed



[root@localhost F4L-BETA]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr//bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) cpp
checking for c++... (cached) g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether g++ supports -fno-exceptions... (cached) yes
checking whether g++ supports -fno-check-new... (cached) yes
checking whether g++ supports -fexceptions... (cached) yes
checking how to run the C++ preprocessor... (cached) g++ -E
checking whether g++ supports -frepo... (cached) yes
checking for ld used by GCC... (cached) /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... (cached) yes
checking for /usr//bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr//bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) yes
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... (cached) yes
checking if gcc static flag works... (cached) no
finding the maximum length of command line arguments... (cached) 73729
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr//bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
creating libtool
loading cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
checking for objdir... .libs
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
finding the maximum length of command line arguments... (cached) 73729
checking if g++ supports -c -o file.o... (cached) yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr//bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "CXX" to libtool
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking for msgfmt... (cached) /usr//bin/msgfmt
checking for gmsgfmt... (cached) /usr//bin/msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... (cached) /usr//bin/xgettext
found xgettext programs is not GNU xgettext; ignore it
checking for main in -lutil... (cached) yes
checking for main in -lcompat... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for socklen_t... (cached) socklen_t
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for inet_ntoa... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for res_init... (cached) no
checking for killpg in -lucb... (cached) no
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of char *... (cached) 4
checking size of char... (cached) 1
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... (cached) no
checking for extra includes... no
checking for extra libs... no
checking for libz... (cached) -lz
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... (cached) yes
checking for libXext... (cached) yes
checking for Xinerama... no
checking for pthread_create in -lpthread... (cached) yes
checking for libpng... (cached) -lpng -lz -lm
checking for libjpeg6b... (cached) no
checking for libjpeg... (cached) -ljpeg
configure: warning:
There is an installation error in jpeg support. You seem to have only one
of either the headers _or_ the libraries installed. You may need to either
provide correct --with-extra-... options, or the development package of
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
Disabling JPEG support.

checking for Qt... (cached) libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include using -mt
checking if Qt compiles without flags... (cached) no
checking for moc... (cached) /usr/lib/qt3/bin/moc
checking for uic... (cached) /usr/lib/qt3/bin/uic
checking whether uic supports -L ... (cached) yes
checking whether uic supports -nounload ... (cached) yes
checking if Qt needs ... (cached) no
checking if admin should be compiled... no
checking if f4lm should be compiled... yes
creating ./config.status
creating Makefile
creating f4lm/Makefile
creating config.h
config.h is unchanged
[root@localhost F4L-BETA]# make
make all-recursive
make[1]: Entering directory `/home/josh/Desktop/install_prac/F4L-BETA'
Making all in f4lm
make[2]: Entering directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
make[3]: Entering directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c cbrushproperties.cpp
In file included from cbrushproperties.cpp:18:
cbrushproperties.h:21:21: qwidget.h: No such file or directory
cbrushproperties.h:22:23: qlineedit.h: No such file or directory
In file included from cbrushproperties.cpp:18:
cbrushproperties.h:30: error: expected class-name before '{' token
cbrushproperties.h:31: error: ISO C++ forbids declaration of `Q_OBJECT' with no type
cbrushproperties.h:31: error: expected `;' before "public"
cbrushproperties.h:34: error: ISO C++ forbids declaration of `QLineEdit' with no type
cbrushproperties.h:34: error: expected `;' before '*' token
cbrushproperties.cpp:19:21: qlayout.h: No such file or directory
cbrushproperties.cpp:20:20: qlabel.h: No such file or directory
cbrushproperties.cpp:22: error: expected `)' before '*' token
cbrushproperties.cpp:22: error: expected `,' or `;' before '*' token
make[3]: *** [cbrushproperties.o] Error 1
make[3]: Leaving directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/josh/Desktop/install_prac/F4L-BETA'
make: *** [all-recursive-am] Error 2
[root@localhost F4L-BETA]# make install
Making install in f4lm
make[1]: Entering directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
make[2]: Entering directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c cbrushproperties.cpp
In file included from cbrushproperties.cpp:18:
cbrushproperties.h:21:21: qwidget.h: No such file or directory
cbrushproperties.h:22:23: qlineedit.h: No such file or directory
In file included from cbrushproperties.cpp:18:
cbrushproperties.h:30: error: expected class-name before '{' token
cbrushproperties.h:31: error: ISO C++ forbids declaration of `Q_OBJECT' with no type
cbrushproperties.h:31: error: expected `;' before "public"
cbrushproperties.h:34: error: ISO C++ forbids declaration of `QLineEdit' with no type
cbrushproperties.h:34: error: expected `;' before '*' token
cbrushproperties.cpp:19:21: qlayout.h: No such file or directory
cbrushproperties.cpp:20:20: qlabel.h: No such file or directory
cbrushproperties.cpp:22: error: expected `)' before '*' token
cbrushproperties.cpp:22: error: expected `,' or `;' before '*' token
make[2]: *** [cbrushproperties.o] Error 1
make[2]: Leaving directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/josh/Desktop/install_prac/F4L-BETA/f4lm'
make: *** [install-recursive] Error 1
 
Old 04-20-2005, 12:56 AM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
i dont know exactly, as i am still new too..

but look over the error messages that the commands you entered produced.

i see an error about some 'cjpeg' folder not existing or whatever, right? ok..thats a straight forward error message....
looking further down the list and noticing the 2nd large error message it mentions something about the 'libjpeg6b' library not installed, and gives you a link of where to download it from.
i would say your next step is to go to that website and download the file you need (libjpeg6b), extract it and compile it, reading the readme file first of course. (probably will have the same make, ./configure, make, install setup procedure).

try that and see what happens from there

edit:
also, when install a program like this.. if you, for example, run './configure' if the last (or almost last) lines of output that it produces say error or someting similar.. dont bother continuing and running 'make' and 'make install' as those will probably fail too... if the first one fails, try and fix that and start over.

Last edited by nadroj; 04-20-2005 at 01:00 AM.
 
Old 04-20-2005, 02:09 AM   #3
jmcdonald21
LQ Newbie
 
Registered: Jan 2005
Location: CT
Distribution: MandrakeLinux 10.1
Posts: 27

Original Poster
Rep: Reputation: 15
I did go to the website and download those files. Those are actually the first part of my copy from my shell. They gave me errors too. It said I did not have some directory /usr/local/man/man1.... etc. Anyway, I created that directory and still no results. I am really getting frusterated with linux. I really want to learn it, but it can be so aggravating. I don't know if it's just me, but it is hard to get a grasp on. I am not used to running prompts at all. Damn XP for doing everything for me! I think this is Bill's plot to have everyone be so computer illiterate so only his goones know about computers and he will rule the world!
 
Old 04-20-2005, 12:57 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
u downloaded the jpeg libraries or whatever it was called? did u compile it? that work? if not what were the errors?
 
Old 04-20-2005, 11:28 PM   #5
jmcdonald21
LQ Newbie
 
Registered: Jan 2005
Location: CT
Distribution: MandrakeLinux 10.1
Posts: 27

Original Poster
Rep: Reputation: 15
I did compile it. It is in my first post as the top part of the terminal that I pasted. The error it gave for the jpeg stuff was about the location of usr/local/bin/man/man1/c-jpeg. It said it did not exist. You can see it about a third of the way down the post. I created the directories in question and tried the process again, but still no luck. Quick question, is the compiling the ./configure, the make, or the make install cmd? I am still new to this stuff and learning a little at a time.
 
Old 04-21-2005, 12:23 AM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
you gotta find the developer library for libjpeg6b and install that, and i would think that would solve the problem.. iv been looking for it but can only find .rpm and .deb files... i dont know mandrake, but since u use it, if u can install things from .rpms and .deb files on mandrake then i think you might be set with those

Last edited by nadroj; 04-21-2005 at 12:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install/run F4L-Beta-0.2.tar.bz2 issue jmcdonald21 Linux - Software 1 04-20-2005 12:45 AM
can not install the tar(gz,bz2) packages tuzhiyong Linux - General 2 11-23-2004 06:23 PM
how do you install tar.bz2 files? Pbguru Linux - Newbie 1 07-25-2004 05:45 PM
how to install tar.bz2? Fear58 Linux - Software 1 06-20-2004 08:20 PM
How to install .tar.bz2? daYz Slackware 10 11-14-2003 02:58 AM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration