LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem compiling photorec 6.5 (http://www.linuxquestions.org/questions/linux-software-2/problem-compiling-photorec-6-5-a-473258/)

fakie_flip 08-12-2006 10:37 AM

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$


ciotog 08-14-2006 01:01 AM

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'

fakie_flip 08-14-2006 09:16 PM

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.

ciotog 08-15-2006 12:40 AM

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.


All times are GMT -5. The time now is 02:03 PM.