Re: [Fink-users] xcode313_2736

2009-08-31 Thread Eduardo Pestana
Or maybe  remove the whole

/Library/Spotlight/Microsoft Office.mdimporter/

Microsoft Office related directory tree?

Best and thanks,
Eduardo

On Tue, Sep 1, 2009 at 1:34 AM, Eduardo Pestana <
epestana.fink.l...@gmail.com> wrote:

> Dear Jack
> I did as you said.  I ran several times
>
> lsof  | grep mdimport
>
> and the output was frozen at what is shown below at the end of this email.
>
> Please take a look at the last two entries (I copied them right here)
>
>> /Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
>> mdworker  2642  edu  txt  REG  14,2   4907776   7789405
>> /Library/Spotlight/Microsoft
>> Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework
>>
>
> It has been more than 2 years since I stopped using Microsoft Office.  I
> thought I had removed it completely.
>
> Is it safe to remove the two aforementioned files?
>
> Thanks,
> Eduardo
>
>
>
>
>
>
>
>
> $ lsof | grep mdimport
>> mdworker  2642  edu  txt  REG  14,2 49264   9556274
>> /System/Library/Spotlight/Application.mdimporter/Contents/MacOS/Application
>> mdworker  2642  edu  txt  REG  14,2121232   1854381
>> /System/Library/Spotlight/RichText.mdimporter/Contents/MacOS/RichText
>> mdworker  2642  edu  txt  REG  14,2103264   5469131
>> /System/Library/Spotlight/PDF.mdimporter/Contents/MacOS/PDF
>> mdworker  2642  edu  txt  REG  14,2 42400   6841160
>> /Applications/TeX/TeXShop.app/Contents/Library/Spotlight/TeX.mdimporter/Contents/MacOS/TeX
>> mdworker  2642  edu  txt  REG  14,2153760   5469115
>> /System/Library/Spotlight/Image.mdimporter/Contents/MacOS/Image
>> mdworker  2642  edu  txt  REG  14,2 78576   9941500
>> /Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode.mdimporter/Contents/MacOS/SourceCode
>> mdworker  2642  edu  txt  REG  14,2 49728   1856285
>> /System/Library/Spotlight/Archives.mdimporter/Contents/MacOS/Archives
>> mdworker  2642  edu  txt  REG  14,2 70592   9556292
>> /System/Library/Spotlight/vCard.mdimporter/Contents/MacOS/vCard
>> mdworker  2642  edu  txt  REG  14,2 47808   1885741
>> /System/Library/Spotlight/Bookmarks.mdimporter/Contents/MacOS/Bookmarks
>> mdworker  2642  edu  txt  REG  14,2 46912   8541711
>> /Applications/TeX/BibDesk.app/Contents/Library/Spotlight/BibImporter.mdimporter/Contents/MacOS/BibImporter
>> mdworker  2642  edu  txt  REG  14,2 49616   5469143
>> /System/Library/Spotlight/SystemPrefs.mdimporter/Contents/MacOS/SystemPrefs
>> mdworker  2642  edu  txt  REG  14,2120624   5469106
>> /System/Library/Spotlight/Audio.mdimporter/Contents/MacOS/Audio
>> mdworker  2642  edu  txt  REG  14,2 38076   8732272
>> /Applications/cyberDuck3.1.2folder/Cyberduck.app/Contents/Library/Spotlight/Cyberduck
>> Spotlight Importer.mdimporter/Contents/MacOS/Cyberduck Spotlight Importer
>> mdworker  2642  edu  txt  REG  14,2 27780   5524942
>> /Applications/DjView.app/Contents/Library/Spotlight/DjVu.mdimporter/Contents/MacOS/DjVu
>> mdworker  2642  edu  txt  REG  14,2 61504   2523817
>> /System/Library/Spotlight/iCal.mdimporter/Contents/MacOS/iCal
>> mdworker  2642  edu  txt  REG  14,2 89040   5469139
>> /System/Library/Spotlight/PS.mdimporter/Contents/MacOS/PS
>> mdworker  2642  edu  txt  REG  14,2 97168   9556280
>> /System/Library/Spotlight/Automator.mdimporter/Contents/MacOS/Automator
>> mdworker  2642  edu  txt  REG  14,2 38300 11078
>> /Applications/Black
>> Ink.app/Contents/Library/Spotlight/CrosswordImporter.mdimporter/Contents/MacOS/CrosswordImporter
>> mdworker  2642  edu  txt  REG  14,2 63184   8098536
>> /System/Library/Spotlight/QuickTime.mdimporter/Contents/MacOS/QuickTime
>> mdworker  2642  edu  txt  REG  14,2190416544690
>> /Library/Spotlight/iWeb.mdimporter/Contents/MacOS/iWeb
>> mdworker  2642  edu  txt  REG  14,2 69744   9013218
>> /Applications/NeoOffice.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight
>> mdworker  2642  edu  txt  REG  14,2   1065908544726
>> /Library/Spotlight/Wolfram Notebook.mdimporter/Contents/MacOS/Wolfram
>> Notebook
>> mdworker  2642  edu  txt  REG  14,2   5913168   7789411
>> /Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft
>> Office
>> mdworker  2642  edu  txt  REG  14,2   4907776   7789405
>> /Library/Spotlight/Microsoft
>> Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework
>>
>>
>
> On Sun, Aug 30, 2009 at 5:15 PM, Jack Howarth wrote:
>
>>  I believe if the indexing is choking on a corrupted file
>> you can identify that while the indexing is hung with...
>>
>> lsof | grep mdimport
>>
>> from a Terminal window.
>>Jack
>>
>>
>> --

Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Martin Costabel
Ben Abbott wrote:
> On Aug 31, 2009, at 9:02 PM, Mark J. Reed wrote:
> 
>> On Mon, Aug 31, 2009 at 7:46 PM, Martin  
>> Costabel wrote:
>>> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash  
>>> instead of
>>> sh.
>> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
>> to bash  - hm, a separate copy, actually -  and behaves just like bash
>> does in 'sh mode' on other platforms, including honoring -n in echo.
> 
> For me on 10.6, if I type ...
> 
> $ sh
> sh-3.2$ echo $SHELL
> /bin/bash

Try `echo -n $SHELL` in sh and in bash...

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Martin Costabel
Mark J. Reed wrote:
> On Mon, Aug 31, 2009 at 7:46 PM, Martin Costabel wrote:
>> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash instead of
>> sh.
> 
> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
> to bash  - hm, a separate copy, actually -  and behaves just like bash
> does in 'sh mode' on other platforms, including honoring -n in echo.

Read "man bash" about the startup procedure. Bash behaves differently 
when it is started under the name "sh".

-- 
Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] xcode313_2736

2009-08-31 Thread Eduardo Pestana
Dear Jack
I did as you said.  I ran several times

lsof  | grep mdimport

and the output was frozen at what is shown below at the end of this email.

Please take a look at the last two entries (I copied them right here)

> /Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
> mdworker  2642  edu  txt  REG  14,2   4907776   7789405
> /Library/Spotlight/Microsoft
> Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework
>

It has been more than 2 years since I stopped using Microsoft Office.  I
thought I had removed it completely.

Is it safe to remove the two aforementioned files?

Thanks,
Eduardo








$ lsof | grep mdimport
> mdworker  2642  edu  txt  REG  14,2 49264   9556274
> /System/Library/Spotlight/Application.mdimporter/Contents/MacOS/Application
> mdworker  2642  edu  txt  REG  14,2121232   1854381
> /System/Library/Spotlight/RichText.mdimporter/Contents/MacOS/RichText
> mdworker  2642  edu  txt  REG  14,2103264   5469131
> /System/Library/Spotlight/PDF.mdimporter/Contents/MacOS/PDF
> mdworker  2642  edu  txt  REG  14,2 42400   6841160
> /Applications/TeX/TeXShop.app/Contents/Library/Spotlight/TeX.mdimporter/Contents/MacOS/TeX
> mdworker  2642  edu  txt  REG  14,2153760   5469115
> /System/Library/Spotlight/Image.mdimporter/Contents/MacOS/Image
> mdworker  2642  edu  txt  REG  14,2 78576   9941500
> /Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode.mdimporter/Contents/MacOS/SourceCode
> mdworker  2642  edu  txt  REG  14,2 49728   1856285
> /System/Library/Spotlight/Archives.mdimporter/Contents/MacOS/Archives
> mdworker  2642  edu  txt  REG  14,2 70592   9556292
> /System/Library/Spotlight/vCard.mdimporter/Contents/MacOS/vCard
> mdworker  2642  edu  txt  REG  14,2 47808   1885741
> /System/Library/Spotlight/Bookmarks.mdimporter/Contents/MacOS/Bookmarks
> mdworker  2642  edu  txt  REG  14,2 46912   8541711
> /Applications/TeX/BibDesk.app/Contents/Library/Spotlight/BibImporter.mdimporter/Contents/MacOS/BibImporter
> mdworker  2642  edu  txt  REG  14,2 49616   5469143
> /System/Library/Spotlight/SystemPrefs.mdimporter/Contents/MacOS/SystemPrefs
> mdworker  2642  edu  txt  REG  14,2120624   5469106
> /System/Library/Spotlight/Audio.mdimporter/Contents/MacOS/Audio
> mdworker  2642  edu  txt  REG  14,2 38076   8732272
> /Applications/cyberDuck3.1.2folder/Cyberduck.app/Contents/Library/Spotlight/Cyberduck
> Spotlight Importer.mdimporter/Contents/MacOS/Cyberduck Spotlight Importer
> mdworker  2642  edu  txt  REG  14,2 27780   5524942
> /Applications/DjView.app/Contents/Library/Spotlight/DjVu.mdimporter/Contents/MacOS/DjVu
> mdworker  2642  edu  txt  REG  14,2 61504   2523817
> /System/Library/Spotlight/iCal.mdimporter/Contents/MacOS/iCal
> mdworker  2642  edu  txt  REG  14,2 89040   5469139
> /System/Library/Spotlight/PS.mdimporter/Contents/MacOS/PS
> mdworker  2642  edu  txt  REG  14,2 97168   9556280
> /System/Library/Spotlight/Automator.mdimporter/Contents/MacOS/Automator
> mdworker  2642  edu  txt  REG  14,2 38300 11078
> /Applications/Black
> Ink.app/Contents/Library/Spotlight/CrosswordImporter.mdimporter/Contents/MacOS/CrosswordImporter
> mdworker  2642  edu  txt  REG  14,2 63184   8098536
> /System/Library/Spotlight/QuickTime.mdimporter/Contents/MacOS/QuickTime
> mdworker  2642  edu  txt  REG  14,2190416544690
> /Library/Spotlight/iWeb.mdimporter/Contents/MacOS/iWeb
> mdworker  2642  edu  txt  REG  14,2 69744   9013218
> /Applications/NeoOffice.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight
> mdworker  2642  edu  txt  REG  14,2   1065908544726
> /Library/Spotlight/Wolfram Notebook.mdimporter/Contents/MacOS/Wolfram
> Notebook
> mdworker  2642  edu  txt  REG  14,2   5913168   7789411
> /Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft
> Office
> mdworker  2642  edu  txt  REG  14,2   4907776   7789405
> /Library/Spotlight/Microsoft
> Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework
>
>

On Sun, Aug 30, 2009 at 5:15 PM, Jack Howarth wrote:

>  I believe if the indexing is choking on a corrupted file
> you can identify that while the indexing is hung with...
>
> lsof | grep mdimport
>
> from a Terminal window.
>Jack
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Fink-use

Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Ben Abbott
On Aug 31, 2009, at 9:02 PM, Mark J. Reed wrote:

> On Mon, Aug 31, 2009 at 7:46 PM, Martin  
> Costabel wrote:
>> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash  
>> instead of
>> sh.
>
> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
> to bash  - hm, a separate copy, actually -  and behaves just like bash
> does in 'sh mode' on other platforms, including honoring -n in echo.

For me on 10.6, if I type ...

$ sh
sh-3.2$ echo $SHELL
/bin/bash

However, the shell initiated by TeXShop appears to be something else.

Bel

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Mark J. Reed
On Mon, Aug 31, 2009 at 7:46 PM, Martin Costabel wrote:
> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash instead of
> sh.

OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
to bash  - hm, a separate copy, actually -  and behaves just like bash
does in 'sh mode' on other platforms, including honoring -n in echo.


-- 
Mark J. Reed 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] kdeinit4.app and kde4 apps fail to run

2009-08-31 Thread vibnwis

Having googled for that, I found and experimented myself that to allow kde4 
apps to work I have to run the /sw/bin/init.sh which the fink environment if I 
am not wrong. Having opened the X11 term which has the /sw/bin/init in the 
.xinitrc, I can run mostly all kde4 apps. In other words, I can't run all the 
kde4 apps until I run X11 term which runs /sw/bin/init.sh.

I have tried various methods by putting /sw/bin/init.sh into the login startup 
menu. None of those effort product positive results. Does anyone know how to 
run /sw/bin/init at login.

The only useful apps for me for the moment is Wireshark. However, that doesn't 
run as kde4.app. I have to run from shell.

Welcome any comments.

--- On Mon, 8/31/09, Alexander Hansen  wrote:

From: Alexander Hansen 
Subject: Re: [Fink-users] kdeinit4.app and kde4 apps fail to run
To: "vibnwis" 
Cc: fink-users@lists.sourceforge.net
Date: Monday, August 31, 2009, 10:43 AM

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

vibnwis wrote:
> Hi there,
> 
> Having installed kde4 through fink, I move on to run the kde apps.
> However, I couldn't get any of kde4 apps running. The icons appear
> blinking in the Dock and disappear after a while. Here are the commands
> I use:
>       
>        1. launchctl load
> /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>        2. sudo chown -R $USER ~/Library/Preferences/KDE
>        3. open /sw/opt/kde4/mac/bin/kdeinit4.app
> 
> But if I use command, startkde & which is to start kde 3.5. I could run
> kde4 apps without any problems even I have quited kde 3.5.
> 
> I want to get rid of kde 3.5 and run kde4 apps directly from Finder.
> Would someone please help?
> 
> thanks
> vibnwis
> 

(We don't remember what OS version you're running)

KDE-mac doesn't use startkde.  That's for kde3.5, as you just noticed.
And running kdeinit4 directly probably doesn't do what you want, since
we don't have a full desktop in the -mac variant.

I'm able to run KDE4 apps directly from the Finder, though I haven't
tried all of them.  Do you have specific apps that don't work?

- --
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqb4YAACgkQB8UpO3rKjQ9xAACeNp+uzsQWhShcXei0HnpDB3G9
uTEAn04XlbZWapsY0f7ejuGfvwWpodYy
=zynf
-END PGP SIGNATURE-



  --
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Ben Abbott
On Aug 31, 2009, at 7:46 PM, Martin Costabel wrote:

> Mark J. Reed wrote:
>> "More POSIX conforming than POSIX requires" would seem to be an
>> oxymoron, if not a paradox.  And POSIX explicitly allows "echo -n".
>
> Yes, that's what I mean. Back in the early days of Leopard, when  
> people complained about the missing -n in sh's echo, Apple said it  
> is because of POSIX conformity.
>
>> Does the builtin echo in sh have any way to suppress a newline?   
>> Maybe
>> the venerable "\c"?
>
> Yes, "\c" works, although this is an extension of POSIX echo, just  
> as "-n".
>
> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash  
> instead of sh.
>
> -- 
> Martin

Would it be appropriate to patch altpdf{la}tex to avoid this problem?

Ben

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Martin Costabel
Mark J. Reed wrote:
> "More POSIX conforming than POSIX requires" would seem to be an
> oxymoron, if not a paradox.  And POSIX explicitly allows "echo -n".

Yes, that's what I mean. Back in the early days of Leopard, when people 
complained about the missing -n in sh's echo, Apple said it is because 
of POSIX conformity.

> Does the builtin echo in sh have any way to suppress a newline?  Maybe
> the venerable "\c"?

Yes, "\c" works, although this is an extension of POSIX echo, just as "-n".

Otherwise use printf or /bin/echo -n instead of echo -n. Or bash instead 
of sh.

-- 
Martin







--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Ben Abbott

On 8/31/09, Martin Costabel  wrote:
> Ben Abbott wrote:
>> I followed the instructions to switch to snow leopard. I've deleted
> []
>> Default Command: Latex
>> Default Script: Tex + DVI
>> Tex: altpdflatex
>> Latex: altpdflatex
>
> Contemporary versions of tex use simpdftex instead of altpdftex, whose
> development stopped ca 2002.
>
>> When I typeset, I get ...
>>
>> ### This is /sw/bin/altpdflatex, Version $Revision: 2.14 $
>> ### /sw/bin/latex test.tex
>> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
>> entering extended mode
> []
>> ### /sw/bin/dvips -R -Poutline  -o /tmp/altpdflatex.53342/-n  
>> test.ps -
>> n test.dvi
>> /sw/bin/dvips: ! Bad number of pages option (-n).
> []
>> Any ideas as to what happened to break TeXShop?
>
> This should have been broken on Leopard already. The problem is that
> altpdftex uses "echo -n" inside a sh script, and Apple, trying to be
> more POSIX conforming than POSIX requires, removed the "-n" flag from
> the echo command that is executed by /bin/sh.
>
> A workaround is to edit the /sw/bin/altpdftex script by hand and to
> replace the first line
>
> #!/bin/sh
>
> by
>
> #!/bin/bash
>
> or, as simpdftex did, replace both occurrences of "echo -n" by
> "/bin/echo -n".

Ok! Its the shell that changed. I was using bash under 10.5 (which  
explains why altpdftex worked for it) and have modified the default  
for 10.6, but apparently the TeXShop installed via Fink on 10.6 still  
uses sh. When I install TeXShop from the web, it works as expected.

Thanks for the explanation. I'll modify the altpdf* scripts to use the  
bash shell.

Ben



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Mark J. Reed
"More POSIX conforming than POSIX requires" would seem to be an
oxymoron, if not a paradox.  And POSIX explicitly allows "echo -n".

Does the builtin echo in sh have any way to suppress a newline?  Maybe
the venerable "\c"?

On 8/31/09, Martin Costabel  wrote:
> Ben Abbott wrote:
>> I followed the instructions to switch to snow leopard. I've deleted
> []
>> Default Command: Latex
>> Default Script: Tex + DVI
>> Tex: altpdflatex
>> Latex: altpdflatex
>
> Contemporary versions of tex use simpdftex instead of altpdftex, whose
> development stopped ca 2002.
>
>> When I typeset, I get ...
>>
>> ### This is /sw/bin/altpdflatex, Version $Revision: 2.14 $
>> ### /sw/bin/latex test.tex
>> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
>> entering extended mode
> []
>> ### /sw/bin/dvips -R -Poutline  -o /tmp/altpdflatex.53342/-n test.ps -
>> n test.dvi
>> /sw/bin/dvips: ! Bad number of pages option (-n).
> []
>> Any ideas as to what happened to break TeXShop?
>
> This should have been broken on Leopard already. The problem is that
> altpdftex uses "echo -n" inside a sh script, and Apple, trying to be
> more POSIX conforming than POSIX requires, removed the "-n" flag from
> the echo command that is executed by /bin/sh.
>
> A workaround is to edit the /sw/bin/altpdftex script by hand and to
> replace the first line
>
> #!/bin/sh
>
> by
>
> #!/bin/bash
>
> or, as simpdftex did, replace both occurrences of "echo -n" by
> "/bin/echo -n".
>
> --
> Martin
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Fink-users mailing list
> Fink-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fink-users
>

-- 
Sent from my mobile device

Mark J. Reed 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Martin Costabel
Ben Abbott wrote:
> I followed the instructions to switch to snow leopard. I've deleted  
[]
> Default Command: Latex
> Default Script: Tex + DVI
> Tex: altpdflatex
> Latex: altpdflatex

Contemporary versions of tex use simpdftex instead of altpdftex, whose 
development stopped ca 2002.

> When I typeset, I get ...
> 
> ### This is /sw/bin/altpdflatex, Version $Revision: 2.14 $
> ### /sw/bin/latex test.tex
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
[]
> ### /sw/bin/dvips -R -Poutline  -o /tmp/altpdflatex.53342/-n test.ps - 
> n test.dvi
> /sw/bin/dvips: ! Bad number of pages option (-n).
[]
> Any ideas as to what happened to break TeXShop?

This should have been broken on Leopard already. The problem is that 
altpdftex uses "echo -n" inside a sh script, and Apple, trying to be 
more POSIX conforming than POSIX requires, removed the "-n" flag from 
the echo command that is executed by /bin/sh.

A workaround is to edit the /sw/bin/altpdftex script by hand and to 
replace the first line

#!/bin/sh

by

#!/bin/bash

or, as simpdftex did, replace both occurrences of "echo -n" by 
"/bin/echo -n".

-- 
Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Installing fink_64-bit and coot on 10.6

2009-08-31 Thread nayden
William G. Scott  chemistry.ucsc.edu> writes:

> 
> This is now fixed, and wasn't really a python problem (but rather  
> something stupid I did in creating the executable wrapper script  
> earlier was unmasked by the upgrade).
> 
> I've fixed it in
> coot-0.6-pre-1-revision-2223
> 
> One small irritation remains with the gtk+2 gui:  it crashes if you  
> try to do a superposition of two molecules.  (The superposition itself  
> seems to work ok if you issue the scheme or python command).
> 

Thanks, seems to work fine.
I'm not sure what you mean, but for me,
SSM superpose (from calculate menu) appears to work.

Thanks again.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] OCaml on 10.6 is failing

2009-08-31 Thread Martin Costabel
Martin Diers wrote:
> I am on an upgraded system, 10.5->10.6, so everything should still be
> 32-bit. As I understand it, you don't get 64-bit Fink unless you
> bootstrap from scratch, and I surely didn't do that.
> 
> OCaml fails with the following error:
> 
> /tmp/camlasmb6d1cf.s:656:32-bit absolute addressing is not supported for
> x86-64
> 
> This appears several dozen times, and then the compile fails.

A lot of packages don't build yet on 10.6/32bit. The default compiler 
option there is to build 64bit binaries, and Fink goes to some lengths 
(but sometimes not far enough) to ensure that if you have a 32bit Fink, 
the compilers build 32bit binairies. Fixing all packages that still (try 
to) build 64bit binaries will take some time.

-- 
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] OCaml on 10.6 is failing

2009-08-31 Thread Martin Diers
I am on an upgraded system, 10.5->10.6, so everything should still be
32-bit. As I understand it, you don't get 64-bit Fink unless you
bootstrap from scratch, and I surely didn't do that.

OCaml fails with the following error:

/tmp/camlasmb6d1cf.s:656:32-bit absolute addressing is not supported for
x86-64

This appears several dozen times, and then the compile fails.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Snow Leopard, TeXShop, & tetex = trouble for me

2009-08-31 Thread Ben Abbott
I followed the instructions to switch to snow leopard. I've deleted  
all Fink's .la files and have rebuilt the packages when the missing  
files were needed when running an update-all. All went rather well.

Now I'm having trouble with tetex.

With the simple latex document ...

> \documentclass[12pt,letterpaper]{article}
> \begin{document}
> hello
> \end{document}

My TeXShop preference have ...

Default Command: Latex
Default Script: Tex + DVI
Tex: altpdflatex
Latex: altpdflatex

When I typeset, I get ...

### This is /sw/bin/altpdflatex, Version $Revision: 2.14 $
### /sw/bin/latex test.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./test.tex
LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german,  
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,  
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar,  
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish,  
swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/sw/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/sw/share/texmf-dist/tex/latex/base/size12.clo)) (./test.aux) [1] (./ 
test.aux)
  )
Output written on test.dvi (1 page, 220 bytes).
Transcript written on test.log.
### /sw/bin/dvips -R -Poutline  -o /tmp/altpdflatex.53342/-n test.ps - 
n test.dvi
/sw/bin/dvips: ! Bad number of pages option (-n).
### FAILED to generate /tmp/altpdflatex.53342/-n test.ps ()

It doesn't appear my switch to Snow Leopard changed either dvips or  
altpdflatex.

$ ls -l /sw/bin/dvips
-rwxr-xr-x 1 root admin 230476 2008-07-18 01:14 /sw/bin/dvips

$ ls -l /sw/bin/altpdflatex
lrwxr-xr-x 1 root admin 9 2009-07-10 11:16 /sw/bin/altpdflatex ->  
altpdftex

Meanwhile the simple sequence below works

> latex test.tex
> dvips -f test.dvi > test.ps
> ps2pdf13 test.ps > test.pdf

Any ideas as to what happened to break TeXShop?

Ben




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow leopard

2009-08-31 Thread monipol
On 31/08/2009, at 12:58, Alexander Hansen wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Robert Black wrote:
>> Folks:
>>
>> The folks here are about to change me from my trusty PPC G5, where
>> everything I use works fine, to a wintel imac with snow leopard on  
>> it.
>> I presume all my fink installed apps will need to be reinstalled and
>> recompiled for the little-endian POC.
>
> Yup.  We've never supported any PowerPC -> Intel migration option.   
> The
> following one-liner will capture all of the real (rather than virtual)
> packages
>
> fink list -it | grep -v " p " | grep -v "\[" | cut -f2
>
> and you can capture that output into a text file so that you can make
> the rebuild/reinstall procedure more automated.

I've used Alexander's command above as the basis for a post on  
reinstalling Fink:

http://finkers.wordpress.com/2009/08/31/starting-anew/

Suggestions and corrections are much appreciated.


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Snow leopard

2009-08-31 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Black wrote:
> Folks:
> 
> The folks here are about to change me from my trusty PPC G5, where  
> everything I use works fine, to a wintel imac with snow leopard on it.  
> I presume all my fink installed apps will need to be reinstalled and  
> recompiled for the little-endian POC. 

Yup.  We've never supported any PowerPC -> Intel migration option.  The
following one-liner will capture all of the real (rather than virtual)
packages

fink list -it | grep -v " p " | grep -v "\[" | cut -f2

and you can capture that output into a text file so that you can make
the rebuild/reinstall procedure more automated.

Any Ideas on how long Fink will
> take to get a 10.6 version up? 

It's available now, for sources only.

As for a binary installer:  there are a significant number of packages
that are known not to work, so we may have to wait until enough of those
get fixed up.  Probably several months.

Also, I will no longer have Admin
> authority, and the guy that does knows little about the Mac OS, so  
> I'll have to snag him into my office for an extended period to babysit  
> him while this update occurs. 

We can't really control how your computer is administered. :-)  One of
the core developers found himself in the same situation while using a
computer which wasn't his; and ultimately gave up on trying to come up
with a way to grant non-root access.  It was just too much of a pain.

At the last OS revision, it took several
> months for a 10.5 fink, so I'm not hopeful.
> 

That was for the binary distribution.  The source distribution worked at
that time, if I recall correctly (since OS releases invariably come
while I'm preparing for an annual meeting, I always wind up updating later).

> 
> Robert A. Black
> 
> Research Meteorologist  4301 Rickenbacker Cswy.
> NOAA/AOML/HRDMiami, FL 33149-1026
> 
> Ph:   (305) 361-4314
> FAX: (305) 361-4528 (NEW)
> 
> E-Mail: robert.a.bl...@noaa.gov
> (Any opinions expressed are mine alone, not NOAA policy)
> 
> 

- --
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqb8xEACgkQB8UpO3rKjQ9WMACfYJm0i9ogADuzQ3gFmU5z2S4V
j3AAoI+wbRHVtlsMDoAcG0nfOatN2h1k
=CZVV
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Snow leopard

2009-08-31 Thread Robert Black
Folks:

The folks here are about to change me from my trusty PPC G5, where  
everything I use works fine, to a wintel imac with snow leopard on it.  
I presume all my fink installed apps will need to be reinstalled and  
recompiled for the little-endian POC. Any Ideas on how long Fink will  
take to get a 10.6 version up? Also, I will no longer have Admin  
authority, and the guy that does knows little about the Mac OS, so  
I'll have to snag him into my office for an extended period to babysit  
him while this update occurs. At the last OS revision, it took several  
months for a 10.5 fink, so I'm not hopeful.


Robert A. Black

Research Meteorologist  4301 Rickenbacker Cswy.
NOAA/AOML/HRDMiami, FL 33149-1026

Ph:   (305) 361-4314
FAX: (305) 361-4528 (NEW)

E-Mail: robert.a.bl...@noaa.gov
(Any opinions expressed are mine alone, not NOAA policy)





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] kdeinit4.app and kde4 apps fail to run

2009-08-31 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

vibnwis wrote:
> Hi there,
> 
> Having installed kde4 through fink, I move on to run the kde apps.
> However, I couldn't get any of kde4 apps running. The icons appear
> blinking in the Dock and disappear after a while. Here are the commands
> I use:
>   
>1. launchctl load
> /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>2. sudo chown -R $USER ~/Library/Preferences/KDE
>3. open /sw/opt/kde4/mac/bin/kdeinit4.app
> 
> But if I use command, startkde & which is to start kde 3.5. I could run
> kde4 apps without any problems even I have quited kde 3.5.
> 
> I want to get rid of kde 3.5 and run kde4 apps directly from Finder.
> Would someone please help?
> 
> thanks
> vibnwis
> 

(We don't remember what OS version you're running)

KDE-mac doesn't use startkde.  That's for kde3.5, as you just noticed.
And running kdeinit4 directly probably doesn't do what you want, since
we don't have a full desktop in the -mac variant.

I'm able to run KDE4 apps directly from the Finder, though I haven't
tried all of them.  Do you have specific apps that don't work?

- --
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqb4YAACgkQB8UpO3rKjQ9xAACeNp+uzsQWhShcXei0HnpDB3G9
uTEAn04XlbZWapsY0f7ejuGfvwWpodYy
=zynf
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] kdeinit4.app and kde4 apps fail to run

2009-08-31 Thread vibnwis
Hi there,
Having installed kde4 through fink, I move on to run the kde apps. However, I 
couldn't get any of kde4 apps running. The icons appear blinking in the Dock 
and disappear after a while. Here are the commands I use:             1. 
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist       
2. sudo chown -R $USER ~/Library/Preferences/KDE       3. open 
/sw/opt/kde4/mac/bin/kdeinit4.app
But if I use command, startkde & which is to start kde 3.5. I could run kde4 
apps without any problems even I have quited kde 3.5.
I want to get rid of kde 3.5 and run kde4 apps directly from Finder. Would 
someone please help?
thanksvibnwis



  --
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] libgnomeprint2.2-2.18.6-2 failed

2009-08-31 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Koren wrote:
> What gives?
> 
> Making all in models
> LC_ALL=C /sw/bin/intltool-merge -x -u -c ../../po/.intltool-merge- 
> cache ../../po GNOME-GENERIC-PS.xml.in GNOME-GENERIC-PS.xml
> Generating and caching the translation database
> Merging translations into GNOME-GENERIC-PS.xml.
> dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
>Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/ 
> auto/XML/Parser/Expat/Expat.bundle
>Expected in: dynamic lookup
> 
> dyld: Symbol not found: _XML_ParserCreate_MM
>Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/ 
> auto/XML/Parser/Expat/Expat.bundle
>Expected in: dynamic lookup
> 
> make[3]: *** [GNOME-GENERIC-PS.xml] Trace/BPT trap
> make[3]: *** Deleting file `GNOME-GENERIC-PS.xml'
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libgnomeprint2.2-2.18.6-2
> (Reading database ... 62396 files and directories currently installed.)
> Removing fink-buildlock-libgnomeprint2.2-2.18.6-2 ...
> Failed: phase compiling: libgnomeprint2.2-2.18.6-2 failed
> 
> 
> --
> Jonathan Koren
> jonat...@robotmonkeys.net
> http://www.robotmonkeys.net
> 
> 
> 
> 

Hard to say "what gives" with an incomplete report.

What OS version was this on, for starters?
- --
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqb3UsACgkQB8UpO3rKjQ/nSACfRYnvjIeT8X3CFeHfOSt3xamF
cF8AnRXB6700RDR3IgkCJqNFqGYT/twG
=UDc3
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] libgnomeprint2.2-2.18.6-2 failed

2009-08-31 Thread Jonathan Koren
What gives?

Making all in models
LC_ALL=C /sw/bin/intltool-merge -x -u -c ../../po/.intltool-merge- 
cache ../../po GNOME-GENERIC-PS.xml.in GNOME-GENERIC-PS.xml
Generating and caching the translation database
Merging translations into GNOME-GENERIC-PS.xml.
dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
   Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/ 
auto/XML/Parser/Expat/Expat.bundle
   Expected in: dynamic lookup

dyld: Symbol not found: _XML_ParserCreate_MM
   Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/ 
auto/XML/Parser/Expat/Expat.bundle
   Expected in: dynamic lookup

make[3]: *** [GNOME-GENERIC-PS.xml] Trace/BPT trap
make[3]: *** Deleting file `GNOME-GENERIC-PS.xml'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libgnomeprint2.2-2.18.6-2
(Reading database ... 62396 files and directories currently installed.)
Removing fink-buildlock-libgnomeprint2.2-2.18.6-2 ...
Failed: phase compiling: libgnomeprint2.2-2.18.6-2 failed


--
Jonathan Koren
jonat...@robotmonkeys.net
http://www.robotmonkeys.net




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users