Re: file not found in texlive under F15

2012-05-12 Thread Mohamed El Morabity
2012/5/12 Adel ESSAFI adeless...@gmail.com:
 I have this error message when I compile:

 ! I can't find file `pgflibrarytikzpositioning.code.tex'.

Hi,

the TikZ positioning library is part of recent PGF releases.
Unfortunately, Fedora provides by default TeX Live 2007 with an
outdated version of PGF.
You could take the latest version of PGF on the CTAN
(http://www.ctan.org/tex-archive/graphics/pgf) and install it in
~/texmf... Or simply upgrade to TeX Live 2011 thanks to the Novy's
dedicated repository:
   http://fedoraproject.org/wiki/Features/TeXLive
(be careful, the page refers to TeX Live 2012 which is still in
development; the yum repository for TL 2011 can be set using this RPM:
http://jnovy.fedorapeople.org/texlive/2011/packages.fc15/texlive-release.noarch.rpm).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Where's the alternative status menu

2012-01-25 Thread Mohamed El Morabity
 Remove the package from your system and instead browse to
 extensions.gnome.org and enable it there. This allows individual
 desktops to enable extensions on their own, rather than requiring them
 for all users. (Though I do feel it would be nice to have the ability to
 install some extensions for all users).
This is why extensions are not enabled by default now. Each user can
enable or disable them for its session.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Where's the alternative status menu

2012-01-24 Thread Mohamed El Morabity
The extensions are not enabled by default since GNOME 3.2. Don't forget to
relaunch GNOME Shell once the extension is installed, then enable it using
gnome-tweak-tool.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: [Package] Skype x86_64 RPM for Fedora

2012-01-14 Thread Mohamed El Morabity
This is not a real 64-bit version of Skype, it's just a Debian
package converted to RPM using alien:

$ rpm -qip skype-2.2.0.35-2.x86_64.rpm
Name: skype
[...]
(Converted from a deb package by alien version 8.85.)

The Debian package itself only embeds the only available 32-bit
version of Skype with some packaging tricks to make easier its
installation on a 64-bit Debian.

By the way, this RPM wouldn't work if prelink is installed (this is
the case in a default Fedora installation): prelink modifies binaries
to fast up their execution. But the skype executable has a internal
routine to check if it was modified; in such a case, it won't launch.
You RPM doesn't contain any conf. file to avoid prelink from touching
the skype executable.

At last, did you get the permission from Skype to redistribute their binaries?

For all these reasons, I'd avoid this strange RPM like the plague...
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Theme extension broke

2011-12-21 Thread Mohamed El Morabity
Hi,

the bug was reported and fixed upstream;
   https://bugzilla.gnome.org/show_bug.cgi?id=666054
You should write a bug report to merge the fix in the gnome-tweak-tool package.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: BUG: VirtualBox does not start

2011-11-21 Thread Mohamed El Morabity
On Mon, Nov 21, 2011 at 1:28 PM, Cristian Sava cs...@central.ucv.ro wrote:
 Still no working VirtualBox (from rpmfusion).
 This bug is a kwnown one.

 VirtualBox: supR3HardenedVerifyFileInternal: Failed to open
 /usr/lib64/virtualbox/components/VBoxXPCOMBase.xpt: No such file or
 directory (2)
The bug was reported a moment ago:
   https://bugzilla.rpmfusion.org/show_bug.cgi?id=1979
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: mplayer probleme on F14

2011-03-24 Thread Mohamed El Morabity
Le jeudi 24 mars 2011 à 14:33 +0100, Mogens Kjaer a écrit :
 On 03/24/2011 02:24 PM, Michael Schwendt wrote:
  It may be just a missing dependency for a library that is dlopen'ed at
  run-time (and hence it would not become an automatic RPM dependency).
  On i686, here mplayer does not depend on that library or the freeglut
  package:
 
  $ repoquery --whatrequires libglut.so.3|grep mplayer
  $ repoquery --alldeps --whatrequires freeglut|grep mplayer
  $
 
 On x86_64 I get the same (non-) answers from repoquery, but:
 
 $ ldd /usr/bin/mplayer|fgrep glut
   libglut.so.3 = /usr/lib64/libglut.so.3 (0x003dcfa0)
 
 Mogens
 
 -- 
 Mogens Kjaer, m...@lemo.dk
 http://www.lemo.dk

I just had the same problem. It seems CG-docs, from RPM Fusion nonfree,
is guilty: it provides also libglut.so.3:
   $ repoquery --provides Cg-docs | grep libglut
   libglut.so.3
   libglut.so.3()(64bit)
Yet the installation of this library intrigues me:
   $ repoquery -l Cg-docs | grep libglut
   /usr/share/doc/Cg-docs-3.0.0015/examples/Tools/trace/libglut.so.3
   /usr/share/doc/Cg-docs-3.0.0015/examples/Tools/trace/libglut.so.3
I don't know what those files do in /usr/share/doc/...

Anyway freeglut and Cg-docs are in concurrence to provide
libglut.so.3... And Cg-docs won in my case. I fixed it by removing
Cg-docs (and so mplayer), and installing freeglut and the previously
removed package by excluding the rpmfusion-nonfree repo (to avoid
Cg-docs being installed again).

I will report the bug to the RPM Fusion BZ if it was not already done.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: mplayer probleme on F14

2011-03-24 Thread Mohamed El Morabity
Le jeudi 24 mars 2011 à 14:45 +0100, Mohamed El Morabity a écrit :
 I will report the bug to the RPM Fusion BZ if it was not already done.

It was already reported:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=1668


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: HELP! Can't compile a program or an RPM due to a missing .pc file

2011-02-24 Thread Mohamed El Morabity
Hi,

 I'm trying to build/compile a new RPM of the latest and greatest PAN 
 newsreader
pan is still alive \o/

 , but I can't even get the tarball to compile because it's 
 complaining about a missing gmime. Now I've *got* gmime installed and it's 
 newer than the minimum version, but the gmime.pc file is missing and I don't 
 know enough to create it.
Install the gmime-devel package

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Mozplugger does not work for PDF files

2011-02-06 Thread Mohamed El Morabity
Le dimanche 06 février 2011 à 13:07 -0500, Sam Varshavchik a écrit :
 Does anyone have mozplugger working for them for PDF files? Not sure if I 
 have something broken, or if its a mozplugger bug. Opening links with PDF 
 files downloads them as any other file, instead of being opened with evince 
 inside a Firefox window.
 
 Mozplugger seems to be working for other filetypes. mp3 files get opened in 
 totem, inside Firefox.
 
Hi,

to make mozplugger work with Evince, I had to add the following lines in
the ~/.mozplugger/mozpluggerrc file:

application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
repeat noisy swallow(evince) fill: evince $file
repeat swallow(acrobatreader) fill: acroread -geometry +9000
+9000 +useFrontEndProgram -tempFileTitle acrobatreader $file
repeat noisy swallow(win) fill: xpdf -g +9000+9000 $file
repeat noisy swallow(gv) fill: gv -safer -quiet -antialias
-geometry +9000+9000 $file

application/x-postscript: ps: PostScript file
application/postscript: ps: PostScript file
repeat noisy swallow(evince) fill: evince $file
repeat noisy swallow(gv) fill: gv -safer -quiet -antialias
-geometry +9000+9000 $file
repeat swallow(Pageview) fill: pageview $file

(taken from a French mozplugger tutorial for Ubuntu)

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: [FEDORA 13] - ia32-libs

2010-11-02 Thread Mohamed El Morabity
Le mardi 02 novembre 2010 à 12:39 +1100, Chris Smart a écrit :
 2010/11/2 Ronaldo Stringasci dos Santos (iTelefônica)
 ronal...@itelefonica.com.br:
  Com o comando yum install ia32-libs, retorna dizendo que não existe este
  pacote. Onde consigo estes pacotes?
 
 
 Olá,
 
 yum install redhat-lsb.i686
 
 -c
Installing redhat.lsb.i686 will bring maybe too much dependencies than
needed here

ia32-libs is a Debian(/Ubuntu) package name, it brings the 32-bit
version of the C standard library. The Fedora equivalent is glibc.i686.
So here:
   # yum install glibc.i686



signature.asc
Description: This is a digitally signed message part
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Monospace GStreamer plugin?

2010-10-15 Thread Mohamed El Morabity
Le jeudi 14 octobre 2010 à 22:50 -0700, Silent-Hunter a écrit :
 I miss the Monospace visualization. It used to be in Rhythmbox and 
 Totem Movie Player on Ubuntu and Mint. But I can't find it for Fedora. 
 Is there any way to get it?

Hi,

I suppose you mean monoscope.

This visualization should be provided by gstreamer-plugins-good, but it
seems its build is disabled in the Fedora package (the
--disable-monoscope is given to ./configure when the package is
built).

You should ask the Fedora maintainer of gstreamer-plugins-good, through
Bugzilla, why monoscope is disabled in this case...



signature.asc
Description: This is a digitally signed message part
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Ndiswrapper does not start during boot/network. Requires manual starts?

2010-08-28 Thread Mohamed El Morabity
Le samedi 28 août 2010 à 17:17 -0700, Daniel B. Thurman a écrit :
 I have a Gateway laptop that has a topdog
 wireless chip, and have sucessfully got wireless
 to work.
 
 However, for some reason, the wireless device
 does not start during bootup, ntp fails to synchronize
 as a clue.
 
 However, once up, I can log in as a user, I have to
 open a gnome terminal and issue the following
 commands:
 
 # depmod -a
 # modprobe ndiswrapper
 
 What I'd like to ask, is this normally how ndiswrapper
 works?  Is it possible to get ndiswrapper to start
 as it boots? I have saved wireless connection into
 /etc/sysconfig/network-scripts but this does not seem
 to work because ndiswrapper is not activated first?
 
 Any advice?
 

Hi,

a quick fix would be to force the module to be always loaded on startup.
You could so add a script named ndiswrapper.modules for example
in /etc/sysconfig/modules/ and containing a simple modprobe
ndiswrapper.


signature.asc
Description: This is a digitally signed message part
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: [OT] replace a word with a multiline with sed

2010-05-13 Thread Mohamed El Morabity
Le jeudi 13 mai 2010 à 18:14 +0200, Gianluca Cecchi a écrit :
 Hello,
 sorry for the offtopic. it seems a simple thing but I can't find an
 escape char or something correct...
 I have this setup in place
 source file input.txt:
 
 bla bla
 bla bla
 TAG
 bla bla
 
 sed command file sed.txt:
 
 /TAG/c\
 BLABLA  BLABLA
 
 so that the command
 sed -f sed.txt input.txt
 gives as output
 
 bla bla
 bla bla
 BLABLA  BLABLA
 bla bla
 
 Suppose I want now to substitute the TAG pattern with a multi-line
 pattern, for example
 occurences of
 TAG
 must become 2 lines:
 BLABLA
 BLOBLO
 
 How can I achieve this?
 Thanks in advance,
 
 Gianluca

Hi,

simply using the following pattern for sed?
   /TAG/c\
   BLABLA\nBLOBLO




signature.asc
Description: Ceci est une partie de message	numériquement signée
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: HowTO - Extract Text out of a PNG image

2010-05-08 Thread Mohamed El Morabity
2010/5/8, Jim mickey...@sbcglobal.net:
 FC12/x86_64

 how can one copy the text out of a PNG image and save as text.

 It is a Screenshot of text and I can't send a PNG file to a Help forum
 as a Attachment.

Hi,

maybe you can try OCR programs like gocr or tesseract, all available
on the Fedora repositories.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: file conflict in update

2010-05-08 Thread Mohamed El Morabity
Le samedi 08 mai 2010 à 19:54 -0500, charles zeitler a écrit : 
 when i try to update qtoctave, i get the following:
 
 
 Transaction Check Error:
   file /usr/bin/qtinfo from install of qtoctave-0.9.1-1.fc12.x86_64
 conflicts with file from package
 libquicktime-utils-1.1.3-3.fc12.x86_64

Hi, 
by a sad coincidence, it seems that two completely different projects
provide executables with the same name. For the moment the only way to
bypass this conflict is to choose the less useful package for you
between qtoctave and libquicktime-utils, to remove it and try a new
update. 
A bug report to the qtoctave developer may be welcome too, since the
libquicktime project was the first to provide an executable named
qtinfo. You should also warn the Fedora qtoctave packager and the RPM
Fusion libquicktime packager on their respective Bugzillas about this
issue.


signature.asc
Description: Ceci est une partie de message	numériquement signée
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: OOo 3.2 for F12?

2010-04-29 Thread Mohamed El Morabity
2010/4/29 Kirk Lowery empirical.human...@gmail.com

 On Thu, Apr 29, 2010 at 9:47 AM, Patrick O'Callaghan
 pocallag...@gmail.com wrote:
  On Thu, 2010-04-29 at 08:24 -0400, Kirk Lowery wrote:
  After googling around, it seems that OpenOffice 3.2 won't be
  officially packaged for Fedora 12. I really would like to upgrade to
  it because 3.2 now handles OpenType fonts.
 
  Can anyone confirm that 3.2 definitely won't be packaged for F12? In
  that case, what would be the best alternative? Are there reliable
  third-party rpms? Or install from the tarball?
 
  Unless your need is very urgent, the easiest would be to wait a few
  weeks and upgrade to F13. Or even do it now if you feel brave :-)

 Thanks, but I'd prefer not to upgrade to F13. Long experience has
 taught me that the best way to upgrade Fedora is do back up the disk,
 wipe the hard drive and reinstall Fedora fresh. Since that takes major
 effort and loss of productivity, for the past several years I have not
 upgraded to every new version bump. So I upgraded from F10 to F12, and
 am waiting for F14 to upgrade again.

 Having OOo 3.2 is not mission critical. But it would be *very*
 convenient. That's why I was wondering if there is a set of rpms that
 could be used which were competently built that would not mess up my
 F12 install; or, failing that, install from the generic tarball. I'd
 be interested in the experience of anyone who has done this.

 Kirk
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


OpenOffice.org provides RPMs for each new version, especially 3.2:
  http://download.openoffice.org/other.html
OpenOffice.org is splitted into several RPMs embedded in a tar.gz archive,
with installation instructions.
If you choose to install this version, don't forget to remove the Fedora
version of OOo. You may also block updates of OpenOffice.org from the Fedora
repositories to avoid packages conflics.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Help w. R texlive install

2010-04-27 Thread Mohamed El Morabity
2010/4/27 Mail Llists li...@sapience.com


  I'm running F12. I use texlive - however, the fedora version is too
 old (2007) and since  I coordinate with others in writing papers - all
 of who use texlive 2009 - I have compatibility problems. (e.g. no
 biblatex, problems with natbib style files etc)

  So I installed the upstream 2009 texlive - which works perfectly and
 exactly the same as everyone else!

  Problem is I also need to install R - it has texlive as a dependency
 and doesn't see the already installed texlive - what is the right way to
 install R - but without it dragging in any fedora based texlive ?

  The only way I could think of was to hand install using rpm all the
 packages for R and its dependencies with --force but skipping the
 texlive ones - is there a better way ?

   thanks

gene
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Hi,

the Fedora maintainer of TeX Live provides a repository for TeX Live 2010 :
http://fedoraproject.org/wiki/Features/TeXLive
This may be better than using the upstream installation. And so you can help
to improve this packaging by using it and reporting bugs  :-).

But if you can't/don't want to remove your TeX Live installation, a (bad)
solution could be to build an empty RPM that will simply contain a
Provides: texlive  2007 or something like this to fool R packages.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Lexmark printer

2010-04-20 Thread Mohamed El Morabity
2010/4/20 Steve Blackwell zep...@cfl.rr.com

 My wife just got a new Lexmark X2670 all-in-one printer with her new
 laptop that we want to share.

 I can't find any drivers for it for F11. Does anyone else have this
 printer and if so have you found a way to make it work?

 Thanks,
 Steve
 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Hi,

Linux drivers seem to be available on the Lexmark web site:

http://md.lexmark.com/md4?dest=downloadslang=encountry=en_USproductID=4922
(see the Downloads tab)
Anyway only 32-bit RPMs are available. I didn't test them, no garranty that
dependancies for them are OK for Fedora 11.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: zoneminder AXIS mpeg4 ffmpeg-libraries

2010-04-20 Thread Mohamed El Morabity
2010/4/20 Nikolay Yatsyshyn kof...@gmail.com

  Mogens Kjaer wrote:
  On 04/20/2010 02:41 PM, Nikolay Yatsyshyn wrote:
 
  Mogens Kjaer wrote:
 
   On 04/20/2010 01:23 PM, Nikolay Yatsyshyn wrote:
   ...
 
 
   I have been installed ffmpeg-devel, but it was not helpful. This is
   complete log, when I enable camera with mpeg4 profile:
 
 
   You'll need to recompile zoneminder. You can't use the version of
   zoneminder from the fedora repository.
 
   Mogens
 
 
 
  Ok, I have downloaded srpm with
  yumdownloader --source zoneminder  rpm -ivh
 zoneminder-1.24.2-3.fc12.src.rpm.
  zoneminder from repos was compiled with:
 
  %configure \
--with-libarch=%{_lib} \
--with-mysql=%{_prefix} \
--with-webdir=%{_datadir}/%{name}/www \
--with-cgidir=%{_libexecdir}/%{name}/cgi-bin \
--with-webuser=%{zmuid} \
--with-webgroup=%{zmgid} \
--disable-debug \
$OPTS
  make %{?_smp_mflags}
  %{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \
  -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf
 
  so I have added:
--with-ffmpeg \
--with-extralibs=-lmp3lame
  but still get: FAT [You must have ffmpeg libraries installed to use
 remote
  camera protocol 'rtsp' for monitor 3]. Where can I get a complete list
 of
  extralibs to put valid options as -lmp3lame in config? I think it need
 to put
  something like -lrtsp, but I don't know which option is valid. I know
 only
  ffmpeg -formats.
 
 
 
  Is HAVE_LIBAVFORMAT set to 1 in config.h in the BUILD directory?
 
  Else search for ffmpeg in config.log in the same directory.
 
  Mogens
 
 
 Nothing about. I think issue is going from:

 configure:10445: checking libavutil/avutil.h usability
 configure:10462: g++ -c -O2 -g -march=i386 -mtune=i686 -Iyes/include
 conftest.cpp 5
 conftest.cpp:128:30: error: libavutil/avutil.h: No such file or directory

 and finally got:
 ac_cv_header_ffmpeg_avcodec_h=no
 ac_cv_header_ffmpeg_avformat_h=no
 ac_cv_header_ffmpeg_avutil_h=no
 ac_cv_header_ffmpeg_swscale_h=no

 ac_cv_header_libavcodec_avcodec_h=no
 ac_cv_header_libavformat_avformat_h=no
 ac_cv_header_libavutil_avutil_h=no


 # rpm -ql ffmpeg-devel
 /usr/include/ffmpeg
 /usr/include/ffmpeg/libavcodec
 /usr/include/ffmpeg/libavcodec/avcodec.h

 so neither --libdir=/usr/include/ffmpeg, not
 --with-ffmpeg=/usr/include/ffmpeg not help me, how to correctly include
 valid path?
  --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Hi,

according to the configure.ac file provided in the sources, paths to ffmpeg
headers and librairies are set from the value FFMPEG_PREFIX given to
--with-ffmpeg like this (line 79):
   FFMPEG_LIBS=-L${FFMPEG_PREFIX}/${LIB_ARCH}
   FFMPEG_CFLAGS=-I${FFMPEG_PREFIX}/include
whereas it should be (if we use ffmpeg from RPM Fusion and with
--with-ffmpeg=/usr):
   FFMPEG_LIBS=-L${FFMPEG_PREFIX}/${LIB_ARCH}/ffmpeg
   FFMPEG_CFLAGS=-I${FFMPEG_PREFIX}/include/ffmpeg
Or maybe even better (more portable):
FFMPEG_LIBS=`pkg-config --libs libavcodec libavformat`
FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavformat`

Anyway this would need to regenerate the configure script using the
autotools (autoreconf and such...).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: zoneminder AXIS mpeg4 ffmpeg-libraries

2010-04-20 Thread Mohamed El Morabity
2010/4/20 Mohamed El Morabity pikachu.2...@gmail.com



 2010/4/20 Nikolay Yatsyshyn kof...@gmail.com

   Mogens Kjaer wrote:
  On 04/20/2010 02:41 PM, Nikolay Yatsyshyn wrote:
 
  Mogens Kjaer wrote:
 
   On 04/20/2010 01:23 PM, Nikolay Yatsyshyn wrote:
   ...
 
 
   I have been installed ffmpeg-devel, but it was not helpful. This is
   complete log, when I enable camera with mpeg4 profile:
 
 
   You'll need to recompile zoneminder. You can't use the version of
   zoneminder from the fedora repository.
 
   Mogens
 
 
 
  Ok, I have downloaded srpm with
  yumdownloader --source zoneminder  rpm -ivh
 zoneminder-1.24.2-3.fc12.src.rpm.
  zoneminder from repos was compiled with:
 
  %configure \
--with-libarch=%{_lib} \
--with-mysql=%{_prefix} \
--with-webdir=%{_datadir}/%{name}/www \
--with-cgidir=%{_libexecdir}/%{name}/cgi-bin \
--with-webuser=%{zmuid} \
--with-webgroup=%{zmgid} \
--disable-debug \
$OPTS
  make %{?_smp_mflags}
  %{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \
  -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf
 
  so I have added:
--with-ffmpeg \
--with-extralibs=-lmp3lame
  but still get: FAT [You must have ffmpeg libraries installed to use
 remote
  camera protocol 'rtsp' for monitor 3]. Where can I get a complete list
 of
  extralibs to put valid options as -lmp3lame in config? I think it
 need to put
  something like -lrtsp, but I don't know which option is valid. I know
 only
  ffmpeg -formats.
 
 
 
  Is HAVE_LIBAVFORMAT set to 1 in config.h in the BUILD directory?
 
  Else search for ffmpeg in config.log in the same directory.
 
  Mogens
 
 
 Nothing about. I think issue is going from:

 configure:10445: checking libavutil/avutil.h usability
 configure:10462: g++ -c -O2 -g -march=i386 -mtune=i686 -Iyes/include
 conftest.cpp 5
 conftest.cpp:128:30: error: libavutil/avutil.h: No such file or directory

 and finally got:
 ac_cv_header_ffmpeg_avcodec_h=no
 ac_cv_header_ffmpeg_avformat_h=no
 ac_cv_header_ffmpeg_avutil_h=no
 ac_cv_header_ffmpeg_swscale_h=no

 ac_cv_header_libavcodec_avcodec_h=no
 ac_cv_header_libavformat_avformat_h=no
 ac_cv_header_libavutil_avutil_h=no


 # rpm -ql ffmpeg-devel
 /usr/include/ffmpeg
 /usr/include/ffmpeg/libavcodec
 /usr/include/ffmpeg/libavcodec/avcodec.h

 so neither --libdir=/usr/include/ffmpeg, not
 --with-ffmpeg=/usr/include/ffmpeg not help me, how to correctly include
 valid path?
  --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


 Hi,

 according to the configure.ac file provided in the sources, paths to
 ffmpeg headers and librairies are set from the value FFMPEG_PREFIX given to
 --with-ffmpeg like this (line 79):
FFMPEG_LIBS=-L${FFMPEG_PREFIX}/${LIB_ARCH}
FFMPEG_CFLAGS=-I${FFMPEG_PREFIX}/include
 whereas it should be (if we use ffmpeg from RPM Fusion and with
 --with-ffmpeg=/usr):
FFMPEG_LIBS=-L${FFMPEG_PREFIX}/${LIB_ARCH}/ffmpeg
FFMPEG_CFLAGS=-I${FFMPEG_PREFIX}/include/ffmpeg
 Or maybe even better (more portable):
 FFMPEG_LIBS=`pkg-config --libs libavcodec libavformat`
 FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavformat`

 Anyway this would need to regenerate the configure script using the
 autotools (autoreconf and such...).


Sorry, for the last lines, I mean:
   FFMPEG_LIBS=`pkg-config --libs libavcodec libavutil`
   FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavutil`
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines