[SAMBA] Problem on AppleTV

2008-09-27 Thread [EMAIL PROTECTED]

OK.  First let me apologize.  I know this is probably not the *best* place to
submit this question, but the awkwardtv.org forum seems to be all but dead. 
:(

So let me just state the facts.

I have installed the Macports Samba3 package on my AppleTV (which runs a
stripped down version of OSX 10.4.9), and it is not working (it worked fine
on firmware 1.0 and 1.1... but now with firmware 2.1 it is no longer
starting).

I followed the instructions found 
http://wiki.awkwardtv.org/wiki/Enable_SAMBA_server here .  I have posted my
question to the the 
http://forum.awkwardtv.org/viewtopic.php?f=10&t=727&p=11498#p11498 AwkwardTV
forum .  I would appreciate any suggestions and/or input you all might be
able to provide.

My next step is to go pop in my OSX 10.4 installer DVDs, open the install
package up in Pacifist, grab the ktrace and kdump binaries and copy them
over to my AppleTV so I can run a trace on the daemons (smbd and nmbd) when
I try to start them up.  I try to start them with the following commands:

-bash-2.05b$ /opt/local/sbin/smbd -c /opt/local/etc/samba3/smb.conf
-bash-2.05b$ /opt/local/sbin/nmbd -c /opt/local/etc/samba3/smb.conf

I believe that once they're started, they should show up when I run

ps ax | grep smbd
or
ps ax | grep nmbd

But no dice.

Please help me out here folks!  I would really appreciate it.
-- 
View this message in context: 
http://www.nabble.com/-SAMBA--Problem-on-AppleTV-tp19698265p19698265.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Fixed: C compiler cannot create executables

2008-09-27 Thread Jeffrey Goldberg
On Sep 26, 2008, at 4:07 PM, Michel Salim wrote:

> Wonder if at some point /usr/local got erased, and then some script
> did a 'touch /usr/local' on your system, recreating it as a file.

He said it was 13MB.  So my guess is that some script did a

  cp foo /usr/local

expected that /usr/local already existed as a directory.

Cheers,

-j
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-27 Thread Jeffrey Goldberg
On Sep 23, 2008, at 12:06 AM, Ryan Schmidt wrote:

> I don't think you have any misconfiguration. As was said, gnucash has
> lots of dependencies -- so many that my port dependency graph maker
> just draws a jumble, which you can view here for your undoubtedly
> great amusement:
>
> http://www.ryandesign.com/tmp/gnucash.png (1.2MB)

That pretty much confirms my view about gnucash dependencies.

Is your port dependency graph maker available as a port?

Cheers,

-j


-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-27 Thread Ryan Schmidt
On Sep 27, 2008, at 18:12, Jeffrey Goldberg wrote:

> On Sep 23, 2008, at 12:06 AM, Ryan Schmidt wrote:
>
>> I don't think you have any misconfiguration. As was said, gnucash has
>> lots of dependencies -- so many that my port dependency graph maker
>> just draws a jumble, which you can view here for your undoubtedly
>> great amusement:
>>
>> http://www.ryandesign.com/tmp/gnucash.png (1.2MB)
>
> That pretty much confirms my view about gnucash dependencies.
>
> Is your port dependency graph maker available as a port?

No, it's just a php script I wrote, but you can get it here:

http://lists.macosforge.org/pipermail/macports-dev/2008-April/ 
005038.html

In further messages in that thread, someone tried to integrate the  
graph creation into MacPorts itself, but I don't think it ever got  
committed. Would be nice to have though.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: [SAMBA] Problem on AppleTV

2008-09-27 Thread Ryan Schmidt
On Sep 27, 2008, at 15:23, [EMAIL PROTECTED] wrote:

> I have installed the Macports Samba3 package on my AppleTV (which  
> runs a
> stripped down version of OSX 10.4.9), and it is not working (it  
> worked fine
> on firmware 1.0 and 1.1... but now with firmware 2.1 it is no longer
> starting).
>
> I followed the instructions found
> http://wiki.awkwardtv.org/wiki/Enable_SAMBA_server here .  I have  
> posted my
> question to the the
> http://forum.awkwardtv.org/viewtopic.php?f=10&t=727&p=11498#p11498  
> AwkwardTV
> forum .  I would appreciate any suggestions and/or input you all  
> might be
> able to provide.
>
> My next step is to go pop in my OSX 10.4 installer DVDs, open the  
> install
> package up in Pacifist, grab the ktrace and kdump binaries and copy  
> them
> over to my AppleTV so I can run a trace on the daemons (smbd and  
> nmbd) when
> I try to start them up.  I try to start them with the following  
> commands:
>
> -bash-2.05b$ /opt/local/sbin/smbd -c /opt/local/etc/samba3/smb.conf
> -bash-2.05b$ /opt/local/sbin/nmbd -c /opt/local/etc/samba3/smb.conf
>
> I believe that once they're started, they should show up when I run
>
> ps ax | grep smbd
> or
> ps ax | grep nmbd
>
> But no dice.

I've never set up Samba myself, never used the MacPorts samba3 port,  
never used an AppleTV, certainly never tried to modify its software...

All I can suggest is to try installing samba3 with MacPorts on a  
normal Mac. Does it work there? If no, then perhaps we can help;  
otherwise the problem is unique to the AppleTV setup and you'd need  
to gather more info.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: [SAMBA] Problem on AppleTV

2008-09-27 Thread [EMAIL PROTECTED]

Ryan,

Thanks for your reply!  I believe that the way I got the Samba3 package was
someone installed the Macports samba3 port, and then just tar'd up their
whole /opt directory to redistribute.  If you follow the link below (the one
with "Enable_SAMBA_server" in the address), you'll see what I mean.  

This package worked fine on the earlier version(s) of the AppleTV software.

Anyway, what kind of information would I need to gather in order to get some
help here?  Do you think doing a ktrace on the daemon is a good idea or
should I be looking elsewhere?

Thanks again!

-Steve


Ryan Schmidt-24 wrote:
> 
> On Sep 27, 2008, at 15:23, [EMAIL PROTECTED] wrote:
> 
>> I have installed the Macports Samba3 package on my AppleTV (which  
>> runs a
>> stripped down version of OSX 10.4.9), and it is not working (it  
>> worked fine
>> on firmware 1.0 and 1.1... but now with firmware 2.1 it is no longer
>> starting).
>>
>> I followed the instructions found
>> http://wiki.awkwardtv.org/wiki/Enable_SAMBA_server here .  I have  
>> posted my
>> question to the the
>> http://forum.awkwardtv.org/viewtopic.php?f=10&t=727&p=11498#p11498  
>> AwkwardTV
>> forum .  I would appreciate any suggestions and/or input you all  
>> might be
>> able to provide.
>>
>> My next step is to go pop in my OSX 10.4 installer DVDs, open the  
>> install
>> package up in Pacifist, grab the ktrace and kdump binaries and copy  
>> them
>> over to my AppleTV so I can run a trace on the daemons (smbd and  
>> nmbd) when
>> I try to start them up.  I try to start them with the following  
>> commands:
>>
>> -bash-2.05b$ /opt/local/sbin/smbd -c /opt/local/etc/samba3/smb.conf
>> -bash-2.05b$ /opt/local/sbin/nmbd -c /opt/local/etc/samba3/smb.conf
>>
>> I believe that once they're started, they should show up when I run
>>
>> ps ax | grep smbd
>> or
>> ps ax | grep nmbd
>>
>> But no dice.
> 
> I've never set up Samba myself, never used the MacPorts samba3 port,  
> never used an AppleTV, certainly never tried to modify its software...
> 
> All I can suggest is to try installing samba3 with MacPorts on a  
> normal Mac. Does it work there? If no, then perhaps we can help;  
> otherwise the problem is unique to the AppleTV setup and you'd need  
> to gather more info.
> 
> 
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-SAMBA--Problem-on-AppleTV-tp19698265p19708306.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Configure error macport - mkvToolnix

2008-09-27 Thread Mine
Hi Ryan,

After sending my email, I did some more searching and found a reference
to  "--enable-libfaac" and "--enable-libfaad".  If I was installing  
from Terminal
without macPorts I believe the following should work:
./configure --enable-libfaac" and "--enable-libfaad
  but I don't know how to set this option in macPorts.

I have now reinstalled ffmpeg using the following,
sudo port install ffmpeg +a52 +faac +faad +gpl +lame +libogg  
+postproc +theora +vorbis +x264 +xvid
but I got an error 'unknown encoder aac' so it appears that I sill  
have to enable
these options. Could you tell me how to enable these options in  
macPorts.

I also downloaded and installed ffmpeg-export-2008-09-26, faac, and  
faad outside
from the terminal without macPorts, to see if I could enable options.  
So I now have
two versions of these apps. Is there a simple way to delete the non- 
macports version.
Or can I get a list of where these apps install there files and  
delete them manually.

THanks,

Terrence


On 27 Sep 2008, at 05:36, Ryan Schmidt wrote:

> On Sep 26, 2008, at 20:54, Mine wrote:
>
>> I have uninstalled everything and started again. Installing  
>> mpeg4ip and mkvtoolnix
>> first, followed by ffmpeg, a52, faac, faad, lame, x264 and xvid.
>>
>> I am not sure if this is the right place for this next question,  
>> but hopefully you or
>> someone else may have encountered this next problem.
>>
>> I have been able to extract a video track from and .mkv file, but  
>> when I try to convert
>> the audio to aac using the following:
>>
>> ffmpeg -i file.mkv -vn -acodec aac -ac 2 audio.aac
>>
>>  I get  'unknown encoder aac'
>>
>> It seems to start alright with the following:
>> FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard,  
>> et al.
>>   configuration: --prefix=/opt/local --disable-vhook --mandir=/opt/ 
>> local/share/man --enable-shared --enable-pthreads --disable-mmx -- 
>> cc=gcc-4.0 --enable-gpl --enable-liba52
>>   libavutil version: 49.7.0
>>   libavcodec version: 51.60.0
>>   libavformat version: 52.18.0
>>   libavdevice version: 52.0.0
>>   built on Sep 27 2008 00:52:03, gcc: 4.0.1 (Apple Computer, Inc.  
>> build 5370)
>>
>> followed by many lines of this:
>> [matroska @ 0x1802800]Ignoring seekhead entry for ID=0x1549a966
>> [matroska @ 0x1802800]Ignoring seekhead entry for ID=0x1654ae6b
>> [matroska @ 0x1802800]Ignoring seekhead entry for ID=0x114d9b74
>>
>> and ends with:
>> Input #0, matroska, from '/Users/TWcomputer/vid_convert/Thomson/ 
>> Thomson_WMV-HD_720p.mkv':
>>   Duration: 00:04:39.56, start: 0.00, bitrate: N/A
>> Stream #0.0: Attachment: 0x
>> Stream #0.1: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR  
>> 16:9], 30.00 tb(r)
>> Stream #0.2: Audio: vorbis, 44100 Hz, stereo
>> Unknown encoder 'aac'
>>
>> I am not sure if ffmpeg has its own encoder or if it should try to  
>> use faac. Can anyone suggest how to
>> solve this one.
>
> According to "port info ffmpeg" and "port variants ffmpeg", ffmpeg  
> can use faac to encode aac audio and faad to decode aac audio. Did  
> you install ffmpeg with the faac and faad variants? I'm thinking  
> you didn't, because ffmpeg showed you its configuration line above,  
> and it doesn't include the options "--enable-libfaac" and "--enable- 
> libfaad" which should appear if you had used those variants.
>
>

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Configure error macport - mkvToolnix

2008-09-27 Thread Ryan Schmidt

On Sep 28, 2008, at 00:51, Mine wrote:

> On 27 Sep 2008, at 05:36, Ryan Schmidt wrote:
>
>> On Sep 26, 2008, at 20:54, Mine wrote:
>>
>>> I have uninstalled everything and started again. Installing  
>>> mpeg4ip and mkvtoolnix
>>> first, followed by ffmpeg, a52, faac, faad, lame, x264 and xvid.
>>>
>>> I am not sure if this is the right place for this next question,  
>>> but hopefully you or
>>> someone else may have encountered this next problem.
>>>
>>> I have been able to extract a video track from and .mkv file, but  
>>> when I try to convert
>>> the audio to aac using the following:
>>>
>>> ffmpeg -i file.mkv -vn -acodec aac -ac 2 audio.aac
>>>
>>>  I get  'unknown encoder aac'
>>>
>>> It seems to start alright with the following:
>>> FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard,  
>>> et al.
>>>   configuration: --prefix=/opt/local --disable-vhook --mandir=/ 
>>> opt/local/share/man --enable-shared --enable-pthreads --disable- 
>>> mmx --cc=gcc-4.0 --enable-gpl --enable-liba52
>>>   libavutil version: 49.7.0
>>>   libavcodec version: 51.60.0
>>>   libavformat version: 52.18.0
>>>   libavdevice version: 52.0.0
>>>   built on Sep 27 2008 00:52:03, gcc: 4.0.1 (Apple Computer, Inc.  
>>> build 5370)
>>>
>>> followed by many lines of this:
>>> [matroska @ 0x1802800]Ignoring seekhead entry for ID=0x1549a966
>>> [matroska @ 0x1802800]Ignoring seekhead entry for ID=0x1654ae6b
>>> [matroska @ 0x1802800]Ignoring seekhead entry for ID=0x114d9b74
>>>
>>> and ends with:
>>> Input #0, matroska, from '/Users/TWcomputer/vid_convert/Thomson/ 
>>> Thomson_WMV-HD_720p.mkv':
>>>   Duration: 00:04:39.56, start: 0.00, bitrate: N/A
>>> Stream #0.0: Attachment: 0x
>>> Stream #0.1: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR  
>>> 16:9], 30.00 tb(r)
>>> Stream #0.2: Audio: vorbis, 44100 Hz, stereo
>>> Unknown encoder 'aac'
>>>
>>> I am not sure if ffmpeg has its own encoder or if it should try  
>>> to use faac. Can anyone suggest how to
>>> solve this one.
>>
>> According to "port info ffmpeg" and "port variants ffmpeg", ffmpeg  
>> can use faac to encode aac audio and faad to decode aac audio. Did  
>> you install ffmpeg with the faac and faad variants? I'm thinking  
>> you didn't, because ffmpeg showed you its configuration line  
>> above, and it doesn't include the options "--enable-libfaac" and  
>> "--enable-libfaad" which should appear if you had used those  
>> variants.
>
> After sending my email, I did some more searching and found a  
> reference
> to  "--enable-libfaac" and "--enable-libfaad".  If I was installing  
> from Terminal
> without macPorts I believe the following should work:
> ./configure --enable-libfaac" and "--enable-libfaad
>  but I don't know how to set this option in macPorts.

If you take a look at the Portfile ("port cat ffmpeg") you'll see  
that using the +faac variant adds the --enable-libfaac configure  
option, and using the +faad variant adds the --enable-libfaad  
configure option.

> I have now reinstalled ffmpeg using the following,
> sudo port install ffmpeg +a52 +faac +faad +gpl +lame +libogg  
> +postproc +theora +vorbis +x264 +xvid

So that should have been all you needed to do.

> but I got an error 'unknown encoder aac' so it appears that I sill  
> have to enable
> these options. Could you tell me how to enable these options in  
> macPorts.

Beyond using the available variants, I can't help. I don't use ffmpeg  
myself. You might want to contact the maintainer of the ffmpeg port,  
or the authors of the ffmpeg software.

> I also downloaded and installed ffmpeg-export-2008-09-26, faac, and  
> faad outside
> from the terminal without macPorts, to see if I could enable  
> options. So I now have
> two versions of these apps. Is there a simple way to delete the non- 
> macports version.
> Or can I get a list of where these apps install there files and  
> delete them manually.

Usually that would be specified by the configure option --prefix=/ 
wherever. If you did not supply the --prefix flag to configure, then  
usually they go in /usr/local. It's a bad idea to have things in /usr/ 
local while also trying to use MacPorts, so you should remove what's  
in /usr/local.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Fixed: C compiler cannot create executables

2008-09-27 Thread Martin Krischik
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Am 27.09.2008 um 23:45 schrieb Jeffrey Goldberg:

> On Sep 26, 2008, at 4:07 PM, Michel Salim wrote:
>
>> Wonder if at some point /usr/local got erased, and then some script
>> did a 'touch /usr/local' on your system, recreating it as a file.
>
> He said it was 13MB.  So my guess is that some script did a
>
>  cp foo /usr/local
>
> expected that /usr/local already existed as a directory.
>
>


This is why the "--target-directory" was invented (at least for gnu's  
cp). Very helpful for scripts. Also very helpful is "setopt  
Err_Exit" (Z-Shell - for bash some obscure command with "-e"). Just  
imagine the cd goes wrong in:

cd /tmp
grm --force --recursive *(U)

and Err_Exit is off. (Again Z-Shell - bash does not know about "(U)" -  
which would make the command combination even more disastrous).

Regards

Martin
- --
Martin Krischik
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iD8DBQFI3yMUijwKaHyem9cRAuWLAKCX5YT56fIW/F+D+tiRu2F3sFbChACbBarg
uCvemJPA2Yletuufw4zWBa4=
=YnGi
-END PGP SIGNATURE-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users