Problems rebuilding ffmpeg to include libfaac

2009-12-27 Thread Andrew Robinson
Got an iphone for Christmas. I want to be able to stream videos to it 
from my MythTV setup. Looking through the MythTV wiki, step one is to 
get ffmpeg to transcode videos to a format that the iphone can use. I 
tried the ffmpeg that came from rpmfusion for my Fedora 11 installation. 
It lacks libfaac support.


To try to fix this and preserve all the yum dependencies, I decided I 
should download and build the source rpm. (Is this the best approach?) I 
downloaded and installed ffmpeg-0.5-3.fc11.src.rpm, which matched the 
version from 'rpm -qa | grep ffmpeg' on my system. Looking in the 
ffmpeg.spec file, I found these lines:


%{?_with_faac:BuildRequires: faac-devel}

%{?_with_faac:--enable-libfaac --enable-nonfree} \\\


whineI also found this comment in the changelog:

- Don't build faac by default because it's nonfree. (kwizart)

I thought the purpose of rpmfusion was to provide the software that Red 
Hat and Fedora did not want to ship but people wanted on their 
computers. So why not include the software for something as popular as 
ipods and iphones?/whine


I uncommented those two lines and ran 'rpmbuild -ba ffmpeg.spec'. The 
first time, it failed with a list of devel packages I needed. I 
installed those with yum. Then it ran for a long time and then errorred 
out at the end with these statements:


Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 
rpmlib(FileDigests) = 4.6.0-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1
Requires: libSDL-1.2.so.0 libasound.so.2 libasound.so.2(ALSA_0.9) 
libasound.so.2(ALSA_0.9.0rc4) libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.0) 
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) 
libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) 
libc.so.6(GLIBC_2.7) libdc1394.so.22 libdirac_decoder.so.0 
libdirac_encoder.so.0 libdl.so.2 libdl.so.2(GLIBC_2.0) 
libdl.so.2(GLIBC_2.1) libfaac.so.0 libm.so.6 libm.so.6(GLIBC_2.0) 
libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) 
libpthread.so.0(GLIBC_2.2) libz.so.1 rtld(GNU_HASH)

Processing files: ffmpeg-libs-0.5-3.fc11.i586
error: File not found by glob: 
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/lib*.so.*
error: File not found by glob: 
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/i686/lib*.so.*


RPM build errors:
File not found by glob: 
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/lib*.so.*
File not found by glob: 
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/i686/lib*.so.*



This is what does exist in those directories:

# ls /root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib
libavcodec.a  libavdevice.a  libavformat.a  libavutil.a  pkgconfig vhook

# ls /root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/i686/
vhook


So my question is this. What don't I know that is required to run 
rpmbuild on the ffmpeg src rpm? What do I need to install or do to make 
this work?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


SOLVED: My bad - Problems rebuilding ffmpeg to include libfaac

2009-12-27 Thread Andrew Robinson

On 12/27/2009 11:35 PM, Andrew Robinson wrote:


To try to fix this and preserve all the yum dependencies, I decided I
should download and build the source rpm. (Is this the best approach?) I
downloaded and installed ffmpeg-0.5-3.fc11.src.rpm, which matched the
version from 'rpm -qa | grep ffmpeg' on my system. Looking in the
ffmpeg.spec file, I found these lines:

%{?_with_faac:BuildRequires: faac-devel}

%{?_with_faac:--enable-libfaac --enable-nonfree} \\\

I uncommented those two lines and ran 'rpmbuild -ba ffmpeg.spec'. The
first time, it failed with a list of devel packages I needed. I
installed those with yum. Then it ran for a long time and then errorred
out at the end with these statements:

RPM build errors:
File not found by glob:
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/lib*.so.*
File not found by glob:
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/i686/lib*.so.*



Went back and looked at the ffmpeg.spec file. I realized that when I 
uncommented the --enable-libfaac line, I also removed the triple back 
slashes for the line continuation. I put those back and reran rpmbuild. 
It worked this time. Sorry for wasting the bandwidth :).


Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Problem with F11 and Broadcom b43 wireless

2009-07-27 Thread Andrew Robinson
I never got a reply to this query. I tried everything I could think of 
with Network Manager to get it to work with no success. I finally 
reverted to Fedora 10. I installed the exact same drivers in F10 that I 
tried in F11 with b43-fwcutter. The wireless has never disconnected 
itself in F10. So I guess I'll forgo F11 on my laptop and hope that F12 
works better.


Andrew Robinson

On 07/19/2009 12:18 AM, Andrew Robinson wrote:

I installed Fedora 11 on my laptop with a Broadcom bcm4306 wireless
adapter. I installed the b43 driver pretty much the same way that I did
for Fedora 10 as described at this link:
http://www.linuxwireless.org/en/users/Drivers/b43. The wireless makes a
connection and works for awhile. Then it seems to lose the connection.
Network Manager throws up the dialog asking for all the basic wireless
info including password key. However, it never seems to make the
connection again, no matter how many times I press the OK button and
watch the Network Manager icon spin for a minute or so. I do not have
this problem with Fedora 10. The wireless stays connected. Anyone know
if I'm doing something wrong in Network Manager or if there is a problem
in Fedora 11?

Thanks!

Andrew Robinson



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Problem with F11 and Broadcom b43 wireless

2009-07-18 Thread Andrew Robinson
I installed Fedora 11 on my laptop with a Broadcom bcm4306 wireless 
adapter. I installed the b43 driver pretty much the same way that I did 
for Fedora 10 as described at this link: 
http://www.linuxwireless.org/en/users/Drivers/b43. The wireless makes a 
connection and works for awhile. Then it seems to lose the connection. 
Network Manager throws up the dialog asking for all the basic wireless 
info including password key. However, it never seems to make the 
connection again, no matter how many times I press the OK button and 
watch the Network Manager icon spin for a minute or so. I do not have 
this problem with Fedora 10. The wireless stays connected. Anyone know 
if I'm doing something wrong in Network Manager or if there is a problem 
in Fedora 11?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Audacity, F9, and sound systems

2009-03-16 Thread Andrew Robinson
I want to start ripping my LP's, so I installed audacity on my Fedora 9 
box that I already use for MythTV. When I fire up audacity, it offers a 
number of choices for the input sound and playback sound. Most of those 
choices seem to revolve around ALSA. The only ones that seem to work are 
OSS. OK, I'll use what works. However, once I have run audacity once and 
exited, the next time I get into it, there are only ALSA choices 
available for playback. OSS is no longer available in the drop down and 
none of the ALSA choices give me sound. Anyone have any idea of what is 
going on here?


From what I have read, I thought OSS was being deprecated in favour of 
ALSA. And then I thought the new pulse audio system in F9 and F10 was 
supposed to supplant ALSA. I am guessing I lack a basic understanding of 
how the audio systems work on Fedora 9 and how to configure and control 
them. Can someone explain this, or even better, point to a document that 
does.


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


OT: High pitch buzz when recording

2009-03-16 Thread Andrew Robinson
I am trying to record on my Fedora 9 box with audacity. When I do, the 
recording includes a high pitched buzz on the right track. I have 
unplugged everything from the sound ports, and still get the buzz. I can 
 see the right channel has a higher level on the input meter when 
recording. This is an six channel on-board nVidia audio on an ASUS 
motherboard. Anyone have any idea what causes it? Am I likely to be able 
to fix it?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: TV tuner card in f10

2009-02-13 Thread Andrew Robinson

Rick Stevens wrote:

Neil Thompson wrote:

On Thu, Jan 22, 2009 at 08:24:48AM -0600, Michael Cronenworth wrote:

 Original Message 
Subject: TV tuner card in f10
From: Endy e...@digitalgrotto.net
To: Community assistance, encouragement, and advice for using 
Fedora.  fedora-list@redhat.com

Date: 01/22/2009 01:31 AM


Hi all,

I've got a Sabrent SBTV/FM tuner card in my media box.


Uh, does it require firmware and if so, do you have it installed?  All
my tuners require firmware.


Also, is the module being loaded at boot time?

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Default route not set on bootup

2009-01-13 Thread Andrew Robinson
I posted this problem a couple of weeks ago. I did not get a solution, 
so I'm trying again.


I installed Fedora 10 on my E machines laptop. Got the Broadcom wireless 
network working. For the first time, I am letting Network Manager manage 
the network. In Network Manager, I disabled the wired network and 
enabled the wireless network.


The problem: on bootup, the default route is not set. I confirm this 
with the 'netstat -nr' command.


Here's the ground I've covered.
- The is not the bug where Network Manager sets the Netmask to the 
gateway IP address. I noticed that and corrected it during the initial 
installation. I can't say the issue isn't related, but I caught that error.
- I have the GATEWAY=192.168.1.1 directive set in both the 
/etc/sysconfig/network file and the ifcfg-wlan0 file.
- If I reset the interface ('ifdown wlan0', 'ifup wlan0') or reset the 
network ('service network restart'), the default route gets set.


Anyone have any ideas on what might be wrong?

Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Default route not set on boot up

2009-01-03 Thread Andrew Robinson

Craig White wrote:

On Thu, 2009-01-01 at 22:01 -0500, Andrew Robinson wrote:

Charles Crayne wrote:

On Wed, 31 Dec 2008 12:49:32 -0500
Andrew Robinson awrobinson...@nc.rr.com wrote:


After installing F10, when I power up my laptop, the default route
does not get set.

I had this problem as a symptom of the broken network configuration
tool.


I have a GATEWAY=192.168.1.1 statement in both
the ifcfg-wlan0 file and the /etc/sysconfig/network file.

Check the NETMASK statement in those files.

The NETMASK in the ifcfg-wlan0 file is good. I noticed and fixed that 
problem during the installation. There is no NETMASK statement in the 
/etc/sysconfig/network file. Any other ideas?


netmask should not be in /etc/sysconfig/network

you can however put GATEWAY=192.168.1.1 there

Just out of curiousity, are you sure that the gateway address isn't
registered on startup?

route -n # doesn't show the default gateway address at startup?
if so, does running the commands...

ifdown wlan0
ifup wlan0

make the gateway address appear in 'route -n' after running those
commands?



Interesting. The default route does appear after an ifdown - ifup. I've 
been using 'netstat -nr' to determine its existence. So that begs the 
question of why it is not set at boot time. Any thoughts?


Thanks!

Andrew

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Default route not set on boot up

2009-01-01 Thread Andrew Robinson

Charles Crayne wrote:

On Wed, 31 Dec 2008 12:49:32 -0500
Andrew Robinson awrobinson...@nc.rr.com wrote:


After installing F10, when I power up my laptop, the default route
does not get set.


I had this problem as a symptom of the broken network configuration
tool.


I have a GATEWAY=192.168.1.1 statement in both
the ifcfg-wlan0 file and the /etc/sysconfig/network file.


Check the NETMASK statement in those files.



The NETMASK in the ifcfg-wlan0 file is good. I noticed and fixed that 
problem during the installation. There is no NETMASK statement in the 
/etc/sysconfig/network file. Any other ideas?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Way OT: DIY printer repair

2008-12-31 Thread Andrew Robinson
The paper grabber on my Samsung ML-1710 laser printer has stopped 
grabbing paper. The printer errors out on just about every sheet. I 
certainly have gotten my money's worth out of this printer, but if I 
could fix it, that would be very cool. Anyone know of any links or sites 
that would direct me in determining if the printer is fixable and how to 
do so?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Default route not set on boot up

2008-12-31 Thread Andrew Robinson
After installing F10, when I power up my laptop, the default route does 
not get set. I have a GATEWAY=192.168.1.1 statement in both the 
ifcfg-wlan0 file and the /etc/sysconfig/network file. 'netstat -nr' 
shows no gateway until I run 'route add default gw 192.168.1.1'. This is 
the first time that I put my network setup under the control of Network 
Manager. I don't know if that has anything to do with this. I know I 
could code the default route in rc.local or something like that, but I 
would rather have it work correctly. Any ideas?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Correct way to get lirc module to load in F9?

2008-11-13 Thread Andrew Robinson
I am running mythtv on my Fedora 9 workstation. What is the correct way 
to get the lirc module to load at boot on Fedora 9? I know I could shove 
a 'modprobe lirc-i2c' into the rc.local. I suspect there is a more 
preferred way to do it.


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


OT - How to test procmail on existing mailbox

2008-09-15 Thread Andrew Robinson
I want to use fetchmail and procmail to download and sort my email. I am 
in the initial testing phase. I've downloaded a bunch of mail to my 
system mailbox with fetchmail. I have written some recipes for procmail. 
Can I get procmail to run against the mail already downloaded in 
/var/spool/mail/andrew? If so, how?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Linksys WRT54G2

2008-08-31 Thread Andrew Robinson

Rich Emberson wrote:
I run Fedora 9 (only, no windows or macs). I recently was given a 
Linksys WRT54G2

Wireless-G broadband router with its installation CD (which according to the
terse instructions has a windows and mac modes - of course no Linux).

I want to use this as simply a wireless access point to my existing LAN. I
already have a router and DSL internet connection.

The wireless router is self-contained. You do not need any software to 
work with it. The software on the CD gives Windows (and maybe Macs) 
utilities to measure wireless signal strength and stuff like that.


The router is configured by its internal web server. Others have noted 
that you access that at 192.168.1.1, no userid, and a password of 
admin. That is if the subnet and password weren't changed by the 
previous owner. Others suggested ways around this. I do recommend using 
a wired connection to the router to configure it.


The one issue I think you will run into is that with the Linksys 
software, the WRT54G2 will want to act as a router. It will perform its 
own NAT. You can cable it to the existing router, but then any wireless 
connections will be on a different network segment than your wired 
boxes. The two solutions I see are 1. replace the existing router with 
the WRT54G2, or 2. install alternate firmware that gives more 
functionality, like simply providing a wireless access point on an 
existing network segment.


The two most popular replacement firmwares are dd-WRT and OpenWRT. One 
or both have versions intended to fit on a smaller memory router. I have 
installed one or the other on a WRT54GS. I don't have any experience 
with a WRT54G2. You could look at both websites and see what they say 
about your model.


Hope this helps.

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


OT: pci express 1x card in a 16x slot

2008-08-26 Thread Andrew Robinson

Anyone know if a PCI Express 1x card would work in a PCI Express 16x slot?

Why would I want to put a PCI Express 1x card in a 16x slot?, someone 
is bound to ask. Because there is a capacitor on the motherboard just in 
front of the PCI-E 1x slot. The Hauppauge PVR 1250 card I want to put 
there has a jack at the very bottom of the card. The card will not fit 
all the way down in the slot. Actually I think all the contacts are 
made; I cannot see any of the gold from the card's contacts in the slot. 
 However, the top of the card's faceplate will not reach the chassis to 
allow me to screw it in.


With the power off, I found that the 1x card will fit in the 16x slot. I 
just don't know if it will work there. Anyone know?


Thanks!

Andrew Robinson

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list