LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-12-2006, 11:37 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
problem compiling photorec 6.5


What can I do to get this working? I have already installed build-essential and a dev package in Ubuntu and that got the configure to run longer. Do I need another package, so that I will be able to compile?

Code:
ubuntu@ubuntu:~/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
./configure: eval: line 1602: syntax error near unexpected token `('
./configure: eval: line 1602: `${SHELL} /home/ubuntu/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP/config/missing --run true'
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for windres... ./configure: line 3349: WARNING:: command not found
no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for library containing initscr... -lncurses
checking for ext2fs_open in -lext2fs... no
configure: WARNING: No ext2fs library detected
checking for jpeg_std_error in -ljpeg... no
configure: WARNING: No jpeg library detected
checking for ntfs_device_mount in -lntfs... no
checking for ntfs_libntfs_version in -lntfs... no
configure: WARNING: No ntfs library detected
checking for libreiserfs_get_version in -lreiserfs... no
configure: WARNING: No reiserfs library detected
checking whether gcc understands -Wdeclaration-after-statement... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking dal/file_dal.h usability... no
checking dal/file_dal.h presence... no
checking for dal/file_dal.h... no
checking dal/file.h usability... no
checking dal/file.h presence... no
checking for dal/file.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ntfs/version.h usability... no
checking ntfs/version.h presence... no
checking for ntfs/version.h... no
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/disklabel.h usability... no
checking sys/disklabel.h presence... no
checking for sys/disklabel.h... no
checking sys/dkio.h usability... no
checking sys/dkio.h presence... no
checking for sys/dkio.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/vtoc.h usability... no
checking sys/vtoc.h presence... no
checking for sys/vtoc.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking windef.h usability... no
checking windef.h presence... no
checking for windef.h... no
checking for winbase.h... no
checking for winioctl.h... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for dal_t.block_size... no
checking for dal_t.error... no
checking for dal_t.entity... no
checking for dal_t.name... no
checking for struct dal_ops.dev... no
checking for struct struct_io_manager.set_option... no
checking for struct tm.tm_gmtoff... no
checking whether gcc needs -traditional... no
checking for pread... yes
checking for atexit... yes
checking for atoll... yes
checking for dirname... yes
checking for dup2... yes
checking for ftruncate... yes
checking for geteuid... yes
checking for memset... yes
checking for mkdir... yes
checking for posix_memalign... yes
checking for pwrite... yes
checking for readlink... yes
checking for setenv... yes
checking for setlocale... yes
checking for signal... yes
checking for snprintf... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for touchwin... yes
checking for vsnprintf... yes
checking for reiserfs_fs_open_fast... no
checking for ntfs_libntfs_version... no
configure: creating ./config.status
config.status: creating Makefile
sed: -e expression #1, char 332: unknown option to `s'
config.status: creating src/Makefile
sed: -e expression #1, char 336: unknown option to `s'
config.status: creating linux/testdisk.spec
sed: -e expression #1, char 348: unknown option to `s'
config.status: creating doc_src/testdisk.1
sed: -e expression #1, char 344: unknown option to `s'
config.status: creating doc_src/photorec.1
sed: -e expression #1, char 344: unknown option to `s'
config.status: creating config.h
config.status: executing depfiles commands
ubuntu@ubuntu:~/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP$ ls
aclocal.m4  config.h.in    darwin   linux                        README
AUTHORS     config.log     doc      Makefile                     src
ChangeLog   config.status  doc_src  Makefile.am                  stamp-h1
compile.sh  configure      dos      Makefile.in                  THANKS
config      configure.ac   INFO     NEWS                         win
config.h    COPYING        INSTALL  progsreiserfs-journal.patch
ubuntu@ubuntu:~/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP$ make
make: *** No targets.  Stop.
ubuntu@ubuntu:~/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP$ sudo make
make: *** No targets.  Stop.
ubuntu@ubuntu:~/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP$
 
Old 08-14-2006, 02:01 AM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
Blog Entries: 2

Rep: Reputation: 43
What do these lines tell you?
Quote:
./configure: eval: line 1602: syntax error near unexpected token `('
./configure: eval: line 1602: `${SHELL} /home/ubuntu/Desktop/a/TestDisk & PhotoRec 6.5-WIP, Data Recovery (Beta Version)/Source/testdisk-6.5-WIP/config/missing --run true'
 
Old 08-14-2006, 10:16 PM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Original Poster
Rep: Reputation: 81
Something is wrong with the make file probably. This is why I hate compiling in Linux, even though I am a programmer, and I have no problem compiling Java source code.
 
Old 08-15-2006, 01:40 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
Blog Entries: 2

Rep: Reputation: 43
I think they are suggesting that the path shouldn't contain any brackets. You might want to get rid of any special characters like spaces and brackets in the directory names, and try again.
 
  


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
help i am having strange problems from photorec. should i be using testdisk? fakie_flip Linux - Software 3 08-11-2006 07:35 AM
PhotoRec creates 8.5 gigabyte mp3 fakie_flip Linux - Software 0 08-06-2006 12:06 AM
problem compiling :( celeron2002 Linux - Software 1 02-22-2004 08:19 PM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 04:14 PM
compiling problem with RH 9 tucdual Linux - Distributions 4 08-26-2003 08:03 AM


All times are GMT -5. The time now is 09:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration