LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-28-2009, 04:59 PM   #1
Aftershock6783
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Fuppes ./config error in Ubuntu 8.10


I seem to be just unable to install at this point - wondering if anyone had any pointers on what I may be missing.
First - my system (in case it makes a difference) is:
* GOAL3+ 754 SiS 761 GX Micro ATX Motherboard
* AMD Sempron 1.6GHZ 64 Bit
* New system - Ubuntu 8.10 AMD_64 (2.6.27-11-server) just did my update/upgrade/dist-upgrade today

I followed each step in this post and I'm erroring out during
Code:
./configure --enable-video-transcoding
here's the ending bit that's making me go crazy:
Code:
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for off_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
./configure: line 15948: PKG_PROG_PKG_CONFIG: command not found
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
./configure: line 16974: syntax error near unexpected token `PCRE,'
./configure: line 16974: `PKG_CHECK_MODULES(PCRE, libpcre >= 5.0)'
any help would be greatly appreciated
 
Old 01-29-2009, 03:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

There are some issues in earlier versions of 'fuppes'.
Which version is used ??

'fuppes-SVN-578' can be build with some easy editing :

http://www.linuxquestions.org/questi...ghlight=fuppes

May be the 'autoreconf' described in
http://ubuntuforums.org/showthread.php?t=984325
takes care of that ? Or just messes up things ??

( I don't recall using 'autoreconf' so better try with the
original "configure" file too ! )
Code:
./configure CC=gcc-4.1 CXX=g++-3.3 --enable-video-transcoding --enable-gnome-applet --enable-libnotify
will work, any newer gcc, g++ will not.

EDIT : edit line 711 in
fuppes-SVN-578/src/lib/Transcoding/ffmpeg/ffmpeg.cpp , from

Code:
  snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%X", (int)lrintf(log(qp_histogram[j]+1)/log(2)));
to
Code:
  snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%X", (int)lrintf(log(qp_histogram[j]+1.0)/log(2.0)));
for "transcoding" to compile.

Good luck.

....

Last edited by knudfl; 01-29-2009 at 01:01 PM.
 
Old 01-29-2009, 01:06 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
And later ... I found this
http://fuppes.ulrich-voelkel.de/wiki...iling_on_Linux
https://fuppes.svn.sourceforge.net/s.../fuppes/trunk/
> > command
'svn co https://fuppes.svn.sourceforge.net/s.../fuppes/trunk/ fuppes'
to get fuppes (-svn-629 )

It is even worse ! ( If libmpeg4ip-dev is used )
But I used the new
fuppes-SVN-629/src/lib/Transcoding/ffmpeg/ffmpeg.cpp
to edit line 711, see # 2

(EDIT : fuppes -svn-629 can be compiled with libmpeg4ip,
libmp4v2-dev is required. )
....

Last edited by knudfl; 01-29-2009 at 02:57 PM.
 
Old 01-29-2009, 05:41 PM   #4
Aftershock6783
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
just as an update I found I'm apparently missing pcre...
Thank you both for the advice!

I reinstalled pkjg-configit after I saw the error, thinking it wasnt there.
ran pkg-config --version. returned 0.22
ran pkg-configure --cflags libpcre. returned a blank line. I can only assume I don't have the library - which is crazy since one of the instructions is to install libpcre3-dev and when I tried it just now it told me it's already installed....


so I went and got it manually. now I'm still getting the same issue, but when I do pkg-configure --cflags libpcre I get
Code:
pkg-config --cflags pcre
Package pcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `pcre.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pcre' found
as opposed to a blank line. looking into it now, but we'll see how that goes. any tips?

gonna look into those other suggestions as well right now...
 
Old 01-29-2009, 07:18 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Try this : click libpcre3-dev in Synaptic and
reinstall it.
....

'dpkg -L libpcre3-dev'

will show that all files are in place, ... hopefully !
....
 
Old 01-29-2009, 10:39 PM   #6
Aftershock6783
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Try this : click libpcre3-dev in Synaptic and
reinstall it.
running ubuntu 8.10 server - there's nothing for me to click. I access my system via SSH.
 
Old 01-30-2009, 11:08 PM   #7
Aftershock6783
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I can't believe this... I'm such a moron.
I forgot to run autoreconf -vfi
sorry for wasting everyone's time, but thank you for all help
such a noob move
 
  


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
How to install Fuppes on Ubunutu 8.10 linuxlainen Linux - Newbie 13 06-02-2009 01:02 AM
vmware-config under ubuntu 8.10 vmmon module compilation error jkzfixme Linux - Software 7 05-06-2009 05:45 PM
FUPPES Installation Issues w/ Mint Felicia Elnsoxo Linux - Software 3 01-29-2009 10:02 AM
priority for fuppes service petersk Linux - Server 3 10-26-2008 06:01 PM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 AM.

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
Open Source Consulting | Domain Registration