Re: Error installing gnuplot/aquaterm

2016-10-28 Thread James Linder

> On 29 Oct. 2016, at 3:00 am, macports-users-requ...@lists.macosforge.org 
> wrote:
> 
>> I am sorry if this is a silly question, but I am trying to install gnuplot
>> (I am running Mac OS Sierra, recently updated and performed the MacPorts
>> migration) and am getting the error shown below.  Aquaterm is needing to be
>> installed and that seem to be where it is hanging up.
>> 
>> Error: org.macports.activate for port aquaterm returned: Image error:
>> /Applications/MacPorts/AquaTerm.app/Contents/Info.plist already exists and
>> does not belong to a registered port.  Unable to activate port aquaterm. Use
>> 'port -f activate aquaterm' to force the activation.
> 
> This looks like a local problem on your machines. Some files exist
> that shouldn't be there. Try to run
>sudo rm -rf /Applications/MacPorts/AquaTerm.app/
> and then try to install/activate aquaterm again. Alternatively do
>sudo port -f activate aquaterm
> as suggested.
> 
> How did you uninstall MacPorts during migration? Just "sudo rm -rf
> /opt/local"? Or did you actually do "sudo port deactivate active" or
> "sudo port uninstall active"? If you just removed the contents of
> "/opt/local" without uninstalling or deactivating old ports, you might
> run into the same problem with other ports that install files outside
> of $prefix.
> 
> In that case I would suggest you to run "sudo port deactivate active",
> then "rm -rf /Applications/MacPorts" and potentially clean up a few
> more places (I have no clue which ones). You might have to force
> install other ports if you didn't properly uninstall the ports from
> earlier.

First my gnuplot *does* run
Next my install was messy and took many iterations

I downloaded the install_sierra app and made a memstick
I then updated and lots did not work (eg very important for me X11 forwarding)
I then reinstalled el capitan only to find my time machine disk had beem marked 
as ‘sierra’ and could no longer be used.
I did a fresh install (format disk) of sierra, then of macports, finally 
everything worked.
I installed the ports I remembered, then as I found whoops needed, all was 
quick and the pain tolerable.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: macports-users Digest, Vol 122, Issue 2

2016-10-02 Thread James Linder
>>> Over the years I?ve seen many clever people here, perchance one of them 
>>> will cast an eye and say THERE . . .
>>> 
>>> I?m trying to run a rc.local at start up
>>> I created a launchdaemon
>>> 
>>> haycorn:jam root# cat /Library/LaunchDaemons/local.startup.plist
>>> 
>>> >> "http://www.apple.com/DTDs/PropertyList-1.0.dtd;>
>>> 
>>> 
>>>  Label local.startup
>>>  Disabled  
>>>  RunAtLoad 
>>>  KeepAlive 
>>>  LaunchOnlyOnce
>>>  ProgramArguments
>>>
>>> /bin/bash
>>> -c
>>>  /etc/rc.local
>>>
>>> 
>>> 
>>> 
>>> It does not run. Following the launchd.info->troubleshooting www everything 
>>> does run without complaint. 
>>> (Im creating a ramdisk, but what ever is in rc.local)
>>> haycorn:jam root# ls -l /etc/rc.local
>>> -rwxr-xr-x  1 root  wheel  108  2 Oct 09:58 /etc/rc.local
>>> haycorn:jam root# cat /etc/rc.local
>>> #!/bin/bash
>>> 
>>> DISK_ID=$(hdiutil attach -nomount ram://204800)
>>> diskutil erasevolume HFS+ "ramdisk" ${DISK_ID}
>>> 
>>> I?ve tried specifing Program and 644 permissions on rc.local
>> 
>> [Try again using the righ email.]
>> 
>> I?m no expect, but I don?t think you need the ?-c? parameter.  You already 
>> have a reference to a file.
>> 
>> You may also want to add keys to direct stdout and stderr to a file.  Ala:
>> 
>> StandardOutPath
>> /tmp/test.stdout
>> StandardErrorPath
>> /tmp/test.stderr
>> 
>> I think the following web site is pretty good at explaining how to use 
>> launchd plists:
>> 
>> http://launchd.info
>> 
>> You can also check ?man launchd.plist? for a reference.
> 
> Craig thanks. I’ve been using the site (http://launchd.info), but it mentions 
> not the -w flag Brandon spoke of.
> The stdout keys don’t help, the launchd works perfectly if you run it (the -c 
> flag: I agree but in desperation I tried).
> My single issue is that *this* launchd does not run at boot time (where 
> stdout is not shown). It runs correctly later and Brandon speculated 
> subsystems are not ready yet so I did this:
> 
> 
>  "http://www.apple.com/DTDs/PropertyList-1.0.dtd;>
> 
> 
>Label local.startup
>Disabled  
>RunAtLoad 
>LaunchOnlyOnce
>ProgramArguments
>  
>/etc/rc.local
>  
>KeepAlive
>
>SuccessfulExit
>
>
> 
> 

Craig I appologise for being a dork and not reading your mail.
The launchd plist *is* running, just not mounting:

[haycorn] /tmp [507]% cat test.stdout
Started erase on disk2
Unmounting disk
Erasing
Initialized /dev/rdisk2 as a 100 MB case-insensitive HFS Plus volume
Mounting disk
Finished erase on disk2 ramdisk
[haycorn] /tmp [508]% ls /Volumes/
JAMES  MacOSX


[haycorn] /tmp [517]% diskutil list
/dev/disk0 (internal, physical):
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*1.0 TB disk0
   1:EFI EFI 209.7 MB   disk0s1
   2:  Apple_HFS MacOSX  999.3 GB   disk0s2
   3: Apple_Boot Recovery HD 650.0 MB   disk0s3
/dev/disk1 (external, physical):
   #:   TYPE NAMESIZE   IDENTIFIER
   0:  GUID_partition_scheme*2.0 TB disk1
   1:EFI EFI 209.7 MB   disk1s1
   2:  Apple_HFS JAMES   2.0 TB disk1s2
/dev/disk2 (disk image):
   #:   TYPE NAMESIZE   IDENTIFIER
   0:ramdisk+104.9 MB   disk2

I’ll try, see what I can come up with
Thanks everyone
James

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


Re: macports-users Digest, Vol 122, Issue 2

2016-10-02 Thread James Linder

> On 3 Oct 2016, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:
> 
>> Over the years I?ve seen many clever people here, perchance one of them will 
>> cast an eye and say THERE . . .
>> 
>> I?m trying to run a rc.local at start up
>> I created a launchdaemon
>> 
>> haycorn:jam root# cat /Library/LaunchDaemons/local.startup.plist
>> 
>> > "http://www.apple.com/DTDs/PropertyList-1.0.dtd;>
>> 
>> 
>>   Label local.startup
>>   Disabled  
>>   RunAtLoad 
>>   KeepAlive 
>>   LaunchOnlyOnce
>>   ProgramArguments
>> 
>>  /bin/bash
>>  -c
>>   /etc/rc.local
>> 
>> 
>> 
>> 
>> It does not run. Following the launchd.info->troubleshooting www everything 
>> does run without complaint. 
>> (Im creating a ramdisk, but what ever is in rc.local)
>> haycorn:jam root# ls -l /etc/rc.local
>> -rwxr-xr-x  1 root  wheel  108  2 Oct 09:58 /etc/rc.local
>> haycorn:jam root# cat /etc/rc.local
>> #!/bin/bash
>> 
>> DISK_ID=$(hdiutil attach -nomount ram://204800)
>> diskutil erasevolume HFS+ "ramdisk" ${DISK_ID}
>> 
>> I?ve tried specifing Program and 644 permissions on rc.local
> 
> [Try again using the righ email.]
> 
> I?m no expect, but I don?t think you need the ?-c? parameter.  You already 
> have a reference to a file.
> 
> You may also want to add keys to direct stdout and stderr to a file.  Ala:
> 
> StandardOutPath
> /tmp/test.stdout
> StandardErrorPath
> /tmp/test.stderr
> 
> I think the following web site is pretty good at explaining how to use 
> launchd plists:
> 
> http://launchd.info
> 
> You can also check ?man launchd.plist? for a reference.

Craig thanks. I’ve been using the site (http://launchd.info), but it mentions 
not the -w flag Brandon spoke of.
The stdout keys don’t help, the launchd works perfectly if you run it (the -c 
flag: I agree but in desperation I tried).
My single issue is that *this* launchd does not run at boot time (where stdout 
is not shown). It runs correctly later and Brandon speculated subsystems are 
not ready yet so I did this:


http://www.apple.com/DTDs/PropertyList-1.0.dtd;>


Label local.startup
Disabled  
RunAtLoad 
LaunchOnlyOnce
ProgramArguments
  
/etc/rc.local
  
KeepAlive

SuccessfulExit





It still works, but not at boot time.
Brandon you said that you had several boot launchd plists. May I see one please?
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT LaunchDaemon

2016-10-01 Thread James Linder
On 2 Oct 2016, at 11:53 AM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> 
> On Sat, Oct 1, 2016 at 11:43 PM, James Linder <j...@tigger.ws> wrote:
> I’m trying to run a rc.local at start up
> I created a launchdaemon
> 
> Did you load it? In 10.5 the keys in the launchd plist were sufficient, but 
> this made per-user launchd config difficult; later versions store the 
> "enabled" bit in per-uid databases (including for root) and require you to 
> manipulate that database:
> 
> launchd load -w /Library/LaunchDaemons/local.startup.plist
> 
> The -w is what updates the database so it will load on subsequent boots.
> 
> I've created several local launchd plists that way, and they work as long as 
> I have specified any dependencies properly (i.e. making sure any needed 
> subsystems are running; the only one that comes to mind for yours is probably 
> diskarbitrationd, but I don't know offhand how you specify a dependency on 
> it).

Brandon many thanks

as the magistrate says “that has a ring of truth to it”
It does not quite work for me (I ran launchctl not launchd) but it certainly 
will lead to the solution so thanks again
James


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


OT LaunchDaemon

2016-10-01 Thread James Linder
Over the years I’ve seen many clever people here, perchance one of them will 
cast an eye and say THERE . . .

I’m trying to run a rc.local at start up
I created a launchdaemon

haycorn:jam root# cat /Library/LaunchDaemons/local.startup.plist

http://www.apple.com/DTDs/PropertyList-1.0.dtd;>


Label local.startup
Disabled  
RunAtLoad 
KeepAlive 
LaunchOnlyOnce
ProgramArguments
  
/bin/bash
-c
/etc/rc.local
  



It does not run. Following the launchd.info->troubleshooting www everything 
does run without complaint. 
(Im creating a ramdisk, but what ever is in rc.local)
haycorn:jam root# ls -l /etc/rc.local
-rwxr-xr-x  1 root  wheel  108  2 Oct 09:58 /etc/rc.local
haycorn:jam root# cat /etc/rc.local
#!/bin/bash

DISK_ID=$(hdiutil attach -nomount ram://204800)
diskutil erasevolume HFS+ "ramdisk" ${DISK_ID}

I’ve tried specifing Program and 644 permissions on rc.local

Can anyone help? Thanks
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: WebKit2-GTK: quartz VS XQuartz

2016-05-08 Thread James Linder

> On 9 May 2016, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:
> 
> No. Like I've said, telling users they need to wait at least one hour to
> install and build gtk3 +quartz and webkit2-gtk +quartz due lack of pre
> built version will move me and them away from MaxPorts. About Wayland, it
> was an example to describe the fact even on Linux developers are trying to
> move away from X11. Here that's the preferred choice . AFAICT gtk3 quartz,
> the native OSX target, and the default in Homebrew, looks better and work
> same as X11. Does a white listed exception for gtk3 and webkit2-gtk make
> sense, so that these two will be available pre built? Or at least the only
> WebKit2-GTK +quartz that on old Mac takes just about forever to build.

Wayland offers the same disadvantages as quartz. So if you cannot see the 
advantages of x11 then trust that there are people who do use them and that 
there is no alternative. eg try to sell you argument to http://ltsp.org

James

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


Re: XFCE

2016-01-09 Thread James Linder

> On 10 Jan 2016, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:
> 
>> What is the role of xfce4-session ? Because other components (xfwm4, panel, 
>> desktop) seem to work ...
>> 
 /opt/local/etc/xdg/xfce4/xinitrc: line 113: 13661 Segmentation fault: 11 
 xfce4-session
 
>>> This segfault needs to be debugged by someone. Thank you for trying it out, 
>>> none the less!
> 
> According to the home page of the upstream project, , 
> the Xfce Session Manager:
> "Controls the login and power management of the desktop and allows you to 
> store multiple login sessions."
> 
> See: https://en.wikipedia.org/wiki/X_session_manager
> 
> To fix, "someone" needs to build a debugging version of xfce4-session and run 
> it with a debugger.
> On the captain (OS X 10.11). That will give one a stack trace and a code 
> reference to to go on...
> 
> File a bug: http://guide.macports.org/#project.tickets
> 
> 
> "In general, application bugs should be reported to the developers of the app 
> (?upstream?), not MacPorts."
> But I think it's safe to say that no-one* is running Xfce on Darwin/XQuartz, 
> so this is Terra Incognita...
> 
> Anyway, the bug tracker is: https://bugzilla.xfce.org/
> 
> * the jury is still out on "why would anyone want to do that", even though it 
> "should" still be possible.
> For most normal users, something like VirtualBSD would probably be a better 
> option. Or at least packages.
> 
> See http://www.dedoimedo.com/computers/virtualbsd.html

Pierre to add to comments above 
I’m a great fan of xfce and run that on my many linux machines.
Ideologically I hate apple, but apple make their hardware and software play 
together very nicely e.g. bluetooth at boot, e.g. nice sound from their crappy 
speakers e.g. heat from core sleep vs (hot) heat from core throttle e.g. the 
wireless on my mac mini is perfect under OS X but rather iffy under any linux 
distos that I have tried.

After playing with xfce on the mac mini for a few days the only benefits I 
could find were having X11 all the time (subtle reasons) and xfce4-terminal. 
iTerm does a pretty equivalent job.

So I have to conclude that my mac(s) do exactly what I need, that mac ports is 
the glue that turns this into plain sailing and the xfce port is very 
interesting, but for me, what’s the point. Clementine (not mac ports) even 
plays my oggs.
James

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


Re: xfce

2016-01-06 Thread James Linder

> On 7 Jan 2016, at 12:44 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> On Jan 6, 2016, at 9:57 PM, James Linder wrote:
> 
>> I have built xfce on el Capitan
>> I filed 2 tickets about xfce failing to build, 1 a red-herring (for non 
>> english speakers that is a distraction with no reason) 1 about SIP that is 
>> real (and sorry Ryan for getting the ticket detail wrong), but it works 
>> beautifully.
>> Thanks to the maintainers - it was lots of work.
>> All the information to make it run is easily available, just it does not run 
>> out-the-box (xfce runs on Quartz so you need that and xinit startup stuff)
> 
> Quartz is a framework inside OS X. If you have OS X, you have Quartz.
> 
> https://en.wikipedia.org/wiki/Quartz_(graphics_layer)
> 
> Perhaps you meant XQuartz? i.e. X running on Quartz?
> 
> https://en.wikipedia.org/wiki/XQuartz
> 
> If so, then you should be able to use either the separate XQuartz 
> distribution available at www.xquartz.org or the xorg-server port in 
> MacPorts; they are the same software.

My excuse is that it is 40C in Perth today (now)
My bad of course I mean XQuartz - h I see the mail corrects me! I write 
XQuartz and it is ‘corrected’ to Quartz
also
>> Thanks to the maintainers - it was lots of work.
sound sarcastic
It should say
Thanks yo the maintainers - they have done lots of work.


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


xfce

2016-01-06 Thread James Linder
I have built xfce on el Capitan
I filed 2 tickets about xfce failing to build, 1 a red-herring (for non english 
speakers that is a distraction with no reason) 1 about SIP that is real (and 
sorry Ryan for getting the ticket detail wrong), but it works beautifully.
Thanks to the maintainers - it was lots of work.
All the information to make it run is easily available, just it does not run 
out-the-box (xfce runs on Quartz so you need that and xinit startup stuff)
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: XFCE

2016-01-05 Thread James Linder

> On 6 Jan 2016, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:
> 
 
 OS X 10.11.2, Xcode 7.2.
 
 Has anyone managed to install xfce ? For me, the installation fails at the 
 package xfconf ...
>> 
>> The old ports for Xfce 4.6 and the (unreleased) Xfce 4.8 hadn't been touched 
>> in years.
>> After PureDarwin, there just wasn't any motivation. Easier to just run 
>> FreeBSD instead ?
>> 
>> Anyway, now the ports *have* been updated to the latest version Xfce 4.12 so 
>> "should" work.
>> This includes the desktop, with Thunar and Terminal. See screenshot from 
>> XQuartz on Mavericks:
>> 
> 
> 
> Thank you for the upgrade ! I was very happy with KDE 3.5 with X11 on OS X 
> Lion and I am trying to have something similar on OS El Capitan ... However 
> the installation of Xfce still fails. More precisely it fails with exo. I get 
> the following :
> info:configure checking for libxfce4ui-1 >= 4.10.0... not found
> :info:configure *** The required package libxfce4ui-1 was not found on your 
> syst
> em.
> :info:configure *** Please install libxfce4ui-1 (atleast version 4.10.0) or 
> adju

It being rather silly to try installing a port that fails to install, I’m 
waiting, but I will try snd test as soon as it is reported to work.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: XFCE, Gnome

2016-01-02 Thread James Linder

> On 3 Jan 2016, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:
> 
> Hi,
> OS X 10.11.2, Xcode 7.2.
> ?
> Has anyone managed to install xfce ? For me, the installation fails at the 
> package xfconf ...
> ?
> I have installed gnome. However I am unable to launch a gnome-session. What 
> are the 'right' configuration files 

I tried a while ago (umm mavericks) then researched and found that this port 
has not worked for a quite some time.
Methinks that there is a lot of work and philosophy involved before it can be 
made to run. EG X11 or aquaterm
there are not many ‘apps’ that run and make this aquaterm window look and feel 
like xfce.
I use virtual box and seamless mode for the stuff I want e.g. rosegarden
Running the whole system as an xfce machine (I used suse and ubuntu) shows 
apple make their hardware work really nicely eg of things that work flawlessly 
under OS X but are iffy on linux (iMac27) bluetooth. wireless, sound (apple 
make the crappy speakers sound good), HEAT (boy it runs hot on cpu throttling 
vs core sleep)
MS are nearly as evil as apple but they make nice software. I use their office 
suite that is much better on OSX than on crossover. My wife uses the adobe 
tools and they too work well.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Spider Webs

2015-12-25 Thread James Linder

> On 25 Dec 2015, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:
> 
> Long ago (a week or 2) in a land far away (right here)
> 
> X failed to start about 1 in 2 making my ports that use X11 fail to start.
> So I upgraded to el Capitan and formatted my disk (case sensitive)
> Many ports did work but gnuplot and QT5 failed to build.
> 
> So I downgraded and installed yosemite. Everything builds, X always starts, 
> all good except the dear folk who support the ports asked that my tickets 
> include the fail log.
> 
> I did have my time machine running (beware if you change from case sensitive 
> to insensitive time machine balks)
> 
> Being a sucker for punishment, getting the logs, heeding the ticket advice, I 
> reinstalled el Capitan using time machine.
> Everything works and is familiar, but future port builds will not.
> 
> If I move /opt/local away, reinstall el Capitan version of macports, build 
> all my ports does the auld /opt/local contain *everything* or are there 
> spider webs related that will make this step a real bad move? DBUS comes to 
> mind.
> I?m thinking about future ports and about moving this /opt/local back if I 
> can?t get QT5 to build. 
> I can build gnuplot with -aquaterm option.

(1) I’d like to thank Ryan for the help and support and in particular when all 
seems lost and you are all alone the opinions and comments are hugely 
reassuring and make the whole process easier (as opposed to impossibly hard). 
Thanks Mate.

(2) I’d like to end the thread tidily. If anybody refers to it the story from 
beginning to end is laid out. That would have helped me!

I’ve installed el Capitan
Everything works
All my ports including gnuplot and QT5 (with mysql) build and QT compiles apps.

To build gnuplot I needed to not build aquaterm $ sudo port install gnuplot 
-aquaterm
Qt5 built without problems
to build QT apps in the .pro files
QMAKE_MAC_SDK = macosx10.11

To get X for my ports e.g. wireshark e.g. gnuplot set term X11 persist I 
installed
sudo port install org-server

I’m not a fan of sudo but for port building it plays a part in privilege 
management so use it.

All of my woes were real, but without the confidence that it *did* work I did 
not try to find my issues. X not starting and nothing logged is solved with a 
disk format. The reason is unknown.

James

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


Re: macport bouncers

2015-12-24 Thread James Linder


> Begin forwarded message:
> 
> From: macports-users-requ...@lists.macosforge.org
> Subject: macports-users Digest, Vol 112, Issue 22
> Date: 25 December 2015 at 4:00:01 AM AWST
> To: macports-users@lists.macosforge.org
> Reply-To: macports-users@lists.macosforge.org
> 
> what email address are you sending to? Lat looks like you're sending to one 
> of the command processing addresses (ie listname-join / listname-leave)
> 
>> On Dec 23, 2015, at 7:47 PM, James Linder <j...@tigger.ws> wrote:
>> 
>> My plain text no funnies mail is being bounced.
>> 
>> The results of your email command are provided below. Attached is your
>> original message.

Daniel I’m sorry to have lied to you when I said I was using 
macports-users@lists.macosforge.org. After my new install the macports address 
was macports-users-requ...@lists.macosforge.org. I was just so overwhelmed by 
all the other stuff happening I did not see.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


macport bouncers

2015-12-23 Thread James Linder
My plain text no funnies mail is being bounced.

The results of your email command are provided below. Attached is your
original message.


- Unprocessed:

What is happening?
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Spider Webs

2015-12-23 Thread James Linder
Long ago (a week or 2) in a land far away (right here)

X failed to start about 1 in 2 making my ports that use X11 fail to start.
So I upgraded to el Capitan and formatted my disk (case sensitive)
Many ports did work but gnuplot and QT5 failed to build.

So I downgraded and installed yosemite. Everything builds, X always starts, all 
good except the dear folk who support the ports asked that my tickets include 
the fail log.

I did have my time machine running (beware if you change from case sensitive to 
insensitive time machine balks)

Being a sucker for punishment, getting the logs, heeding the ticket advice, I 
reinstalled el Capitan using time machine.
Everything works and is familiar, but future port builds will not.

If I move /opt/local away, reinstall el Capitan version of macports, build all 
my ports does the auld /opt/local contain *everything* or are there spider webs 
related that will make this step a real bad move? DBUS comes to mind.
I’m thinking about future ports and about moving this /opt/local back if I 
can’t get QT5 to build. 
I can build gnuplot with -aquaterm option.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: X start up issues

2015-12-17 Thread James Linder

> On 16 Dec 2015, at 6:53 pm, Ryan Schmidt  wrote:
> 
> 
>> On Dec 15, 2015, at 11:27 PM, j...@tigger.ws wrote:
>> 
>> 
>> First thanks for all the wise words.
>> My *biggest* problem is that one login all works the next login it does not!
>> 
>> Trying desperate measures I upgraded to el Capitan installed the correct 
>> macports dmg.
>> Many ports eg wget do build. qt5 fails to build. gnuplot fails to build (the 
>> latest ticket says do selfupdate all is fixed, but it is not)
>> 
>> Many tries later so the peamble is done:
>> 
>>> [Haycorn] /Users/jam [502]% sudo port install gnuplot
>>> Password:
>>> --->  Computing dependencies for gnuplot
>>> --->  Dependencies to be installed: aquaterm gd2 libvpx yasm xpm xorg-libXt 
>>> xorg-libsm xorg-libice libcaca freeglut libGLU mesa bison bison-runtime m4 
>>> flex indent py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXdamage 
>>> xorg-damageproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-libXmu 
>>> xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto imlib2 
>>> giflib libid3tag libcerf lua pango Xft2 gobject-introspection py27-mako 
>>> py27-beaker py27-setuptools py27-markupsafe wxWidgets-3.0 wxWidgets_select
>>> --->  Building aquaterm
>>> Error: org.macports.build for port aquaterm returned: command execution 
>>> failed
>>> Error: Failed to install aquaterm
>>> Please see the log file for port aquaterm for details:
>>>   
>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log
>>> Error: The following dependencies were not installed: aquaterm gd2 libvpx 
>>> yasm xpm xorg-libXt xorg-libsm xorg-libice libcaca freeglut libGLU mesa 
>>> bison bison-runtime m4 flex indent py27-libxml2 xorg-dri2proto xorg-glproto 
>>> xorg-libXdamage xorg-damageproto xorg-libXfixes xorg-fixesproto xorg-libXi 
>>> xorg-libXmu xorg-libXrandr xorg-randrproto xorg-libXxf86vm 
>>> xorg-xf86vidmodeproto imlib2 giflib libid3tag libcerf lua pango Xft2 
>>> gobject-introspection py27-mako py27-beaker py27-setuptools py27-markupsafe 
>>> wxWidgets-3.0 wxWidgets_select
>>> To report a bug, follow the instructions in the guide:
>>>   http://guide.macports.org/#project.tickets
>>> Error: Processing of port gnuplot failed
>> 
>> I executed the command that was logged as failed, everything worked 
>> perfectly.
>> 
>> Now I need advise from people here please:
>> 
>> I’ll format the disk and start from scratch (I do have a time machine backup)
>> If people have made qt5 and gnuplot work with el Capitan I will install that 
>> else I’ll do yosemite.
>> 
>> The reply about the SDKs looks right and I will do that (thanks). 
> 
> If a port doesn't build, please file a ticket in our issue tracker per the 
> instructions in the guide. There's no need to anything so drastic as erasing 
> your entire disk and starting over, and no reason at this point to believe, 
> without having seen the logs of what issues you're actually experiencing, 
> that that would solve anything.

First to many who offered help: The key issue was it sometimes worked and 
sometimes did not so all advice about installed software, paths etc are on the 
wrong track.

I did format the disk, seize the opportunity to format CASE SENSITIVE (gee I 
need a medal for saying that so politely) and reinstalled yosemite. Everything 
installed without drama.
A few fiddles, some googling, I’m back to comfortable territory and thus far X 
starts on demand without a peep. The problem was *not* lock files, I wish I 
knew what it was.

Thanks
James



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


X start up issues

2015-12-15 Thread James Linder
Hi
A while back I asked if anyone could shed any light:

Intermittently all my macports that use X fail to start. This from syslog.

> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: xauth:  file 
> /Users/jam/.serverauth.700 does not exist
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: xinit: unable to run 
> server "/opt/local/bin/X": No such file or directory
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Use the -- option, or 
> make sure that /opt/local/bin is in your path and
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: that 
> "/opt/local/bin/X" is a program or a link to the right type of server
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: for your display.  
> Possible server names include:
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Xquartz Mac 
> OSX Quartz displays.
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Xvfb
> Virtual frame buffer
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Xfake   
> kdrive-based virtual frame buffer
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Xnest   X 
> server nested in a window on another X server
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Xephyr  
> kdrive-based nested X server
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: XvncX 
> server accessed over VNC's RFB protocol
> Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Xdmx
> Distributed Multi-head X server
> Dec 14 09:51:01 haycorn.home org.macports.startx[699]:   xinit: giving up
> Dec 14 09:51:01 haycorn.home org.macports.startx[699]: xinit: unable to 
> connect to X server: Connection refused
> Dec 14 09:51:01 haycorn.home org.macports.startx[699]:   xinit: server error
> Dec 14 09:51:01 haycorn.home org.macports.startx[699]:
> Dec 14 09:51:01 haycorn com.apple.xpc.launchd[1] (org.macports.startx[699]): 
> FairPlay decryption failed on binary.
> Dec 14 09:51:01 haycorn com.apple.xpc.launchd[1] (org.macports.startx): 
> Service only ran for 2 seconds. Pushing respawn out by 8 seconds.

Irritated by the contiual nagging to update I broke rule #1 and updated. Now X 
will never start and nothing is logged.

I removed all trace of macports and of Xquartz, then reinstalled. Voila 
everything works. Nextday after after reboot NO X.
Nothing whatsoever logged.

Previously startx started an undecorated xterm.Now


> [haycorn] /Users/jam [521]% startx
> font_cache: Scanning user font directories to generate X11 font caches
> font_cache: Updating FC cache
> expr: syntax error
> expr: syntax error
> xauth:  file /Users/jam/.serverauth.1323 does not exist
> 
> font_cache: Done
> 
> waiting for X server to begin accepting connections .
> ..


until timeout after 5 min or so.
There are no .serverauth files.

I’m somewhat lost. I fiddle my linux boxes very technically but this is all a 
bit alien. Can anyone help me please?
There is no /opt/local/bin/X but there was none yesterday when all was working 
(only /opt/X11/bin/X)
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Qt5

2015-12-15 Thread James Linder
Hi
I installed Qt5 on yosemite and building apps/projects/whatever does not work.
I filed a ticket and this was the sage response:

The SDKs are not provided by MacPorts; they are part of Xcode. Xcode 7
only includes the 10.11 SDK, even if you are running on OS X 10.10. Apple
does not consider this a bug. If Qt requires an older SDK, that is a
design flaw in Qt which should be reported to the developers of Qt so that
they can fix it. Do not under any circumstances rename your SDK or make
any other changes inside the Xcode application bundle.

Cute! if I do rename the SDK it builds a working app. If I don’t the compile 
fails.
Is there any to heed the advice and build a working app. Is this an artifact of 
not wishing to run el Captain
Is my next post related?

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


OT X11

2015-11-22 Thread James Linder
Hi
OT because this is not a macports issue but OnT because it affects many ports

I often cannot start X11. Nothing particular (that I can understand) in the 
logs. log out then back in usually fixes the issue

system.log:Nov 22 11:14:56 haycorn.home 
org.macosforge.xquartz.privileged_startx[]: lockfile: Forcing lock on 
"/opt/X11/var/run/font_cache.lock"
system.log:Nov 22 11:14:58 haycorn.home org.macosforge.xquartz.X11.stub[2273]: 
Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11
system.log:Nov 22 11:14:58 haycorn.home org.macosforge.xquartz.X11.stub[2274]: 
Xquartz: Starting X server: 
/Applications/Utilities/XQuartz.app/Contents/MacOS/X11 --listenonly
system.log:Nov 22 11:15:00 haycorn.home org.macosforge.xquartz.startx[2213]: 
/opt/X11/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
system.log:Nov 22 21:12:07 haycorn.home org.macosforge.xquartz.startx[2213]: 
/opt/X11/bin/xinit: connection to X server lost
system.log:Nov 23 11:21:18 haycorn.home 
org.macosforge.xquartz.privileged_startx[1460]: lockfile: Forcing lock on 
"/opt/X11/var/run/font_cache.lock"
system.log:Nov 23 11:21:18 haycorn.home org.macosforge.xquartz.X11.stub[1503]: 
launchd check-in failed: No such process\

logout
login (now works)

system.log:Nov 23 11:30:18 haycorn.home 
org.macosforge.xquartz.privileged_startx[3514]: lockfile: Forcing lock on 
"/opt/X11/var/run/font_cache.lock"
system.log:Nov 23 11:30:19 haycorn.home org.macosforge.xquartz.X11.stub[3548]: 
Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11
system.log:Nov 23 11:30:19 haycorn.home org.macosforge.xquartz.X11.stub[3549]: 
Xquartz: Starting X server: 
/Applications/Utilities/XQuartz.app/Contents/MacOS/X11 --listenonly
system.log:Nov 23 11:30:21 haycorn.home org.macosforge.xquartz.startx[3506]: 
/opt/X11/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1

Behaviour has been the same mavricks the yosmite. Can anybody say ooh err see 
that for me please
Thanks James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: gcc48 won't build under El Capitan; cannot fix Availability.h

2015-10-27 Thread James Linder

> On 28 Oct 2015, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:
> 
>> Tickets 
>> 
>> #48471 https://trac.macports.org/ticket/48471
>> 
>> #49381 https://trac.macports.org/ticket/49381
>> 
>> both refer to build failures under El Capitan (in my case, OS X 10.11.1) 
>> involving gcc48.
>> 
>> I migrated macports from Yosemite to El Capitan per usual steps. Some 72 
>> ports would not reinstall, most if not all due to the gcc48 problem 
>> indicated in those tickets.
>> 
>> The issue is not just that gcc48 cannot be used for certain other port 
>> builds, but:
>> 
>>  gcc48 itself fails to build.
>> 
>> Following suggestions at #48471, I tried to edit Availability.h. But even 
>> using sudo with an admin account, OS X refused to allow me to edit 
>> Availability.h.
>> 
>> As a number of the ports involved will not install, with their needed 
>> variants, using later versions of gcc, including gcc48, using a different 
>> version is not a solution. (gcc 47, gcc49, and gcc5 did reinstall OK.)
>> 
>> What's to be done?
> 
> For the ports that specify gcc48 as a default variant: update them, if 
> possible to use gcc5 as a default variant.
> 
> For those that absolutely require gcc48: wait for Apple to fix 
> /usr/include/Availability.h.

You are surely encountering the rootless os SID features.
As an utter heathen I find the concept totally repulsive so 
http://www.macworld.com/article/2986118/security/how-to-modify-system-integrity-protection-in-el-capitan.html

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: about fragmentation (of free disk space)

2015-10-11 Thread James Linder

> On 12 Oct 2015, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:
> 
>> random access time for a SSD is 1-3 orders of magnitude less than for a 
>> rotational drive.
>> 
>> As with anything, you need to measure ?real world use? to be certain, but 
>> it?s probably not an issue for SSDs at all.
> 
> I'm not expecting it to be in real world usage, of course. OTOH, frequent 
> defragmenting is probably not a good idea on SSDs.

Actually defrag of an SSD is a VERY BAD IDEA. It will drasically reduce the 
life of your SSD, the fuller the disk the more fragmented the more it will eat 
your disk.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: about fragmentation (of free disk space)

2015-10-10 Thread James Linder

> On 11 Oct 2015, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:
> 
> Anyone on here who is knowledgeable about disk (free space) fragmentation 
> (not just opinionated ;)) ?
> 
> HFS+ is supposed to contain algorithms that limit file fragmentation, but 
> without a background process that moves files (or file blocks), it cannot 
> prevent free space fragmentation, just limit it. On a spinning disks that can 
> become a limit on performance (I presume that theoretically the same applies 
> to SSDs too) and any process that requires contiguous files will ultimately 
> fail if those cannot be obtained, regardless the underlying medium if it 
> doesn't take that aspect into account.
> 
> One way free disk space can become fragmented is when installing files in 
> presence of a significant amount of temporary files, like a ${build.dir}. 
> Example: even without the QtWebEngine component, Qt5's build directory takes 
> up about 6Gb when built with LTO (that same option will *decrease* the 
> installed footprint by a few percent). However, that same build directory 
> decreases by about 70% after running afsctool on it (if it weren't for a 
> single static library that's over 3Gb...) 
> 
> I've added a post-build block that runs afsctool on ${build.dir} in some of 
> my ports (a parallelised version of afsctool I developed).
> 
> The question I'd like to raise is what the effect of that operation would be 
> when done systematically. The idea is of course to reduce port disk space 
> usage before creating the destroot directory. However, afsctool compresses 
> copies of files, for safety, so could actually be adding to fragmentation 
> (esp. if run in on multiple files in parallel).
> Any thoughts on this, regardless of whether free disk space fragmentation is 
> a real-world issue or not?

Do you have a problem? are you trying to fix a thought-issue?

In ‘general’ the unix LRU cache paradigm will ensure that you are free of 
issues. (Least Recently Used) Ever heard the dismayed utterings of “I just 
added umptyplonk RAM and ram free shows some-tiny-amout” That is your system 
working as it ought (by caching disk data).

In ‘general' keeping some 20% disk unused will mean you never see a problem. 
Solving by disk-defrag won’t buy you anything.

‘general’ means you are not doing something extraordinary eg running a high 
volume sql server etc.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: thread CPU usage monitor?

2015-03-26 Thread James Linder

 On 27 Mar 2015, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 
 On Tuesday March 24 2015 15:30:19 Daniel J. Luke wrote:
 On Mar 24, 2015, at 1:59 PM, Mihai Moldovan io...@macports.org wrote:
 I don't know of any application for OS X to get this kind of information
 out of the box, sorry.
 ps -M ?
 
 Instruments  Select Application  Multicore  Tread States ?
 /Applications/Xcode.app/Contents/Applications/Instruments.app

God’s gift to Mac programming (sorry for the sarcasim) makes an app that gives 
all the detail. Since the motherboards are based on standard boards maybe he 
discovered how to read the IIC stream. In any event it is
TemperatureMonitor.dmg

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: about Qt 5.x and OS X 10.6

2015-03-21 Thread James Linder

 On 22 Mar 2015, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 Just one data point, but the next version of 
 MythTV (0.28) is going to require Qt 5.2 at a 
 minimum.  Their reasoning:
 
 Well, there is already a Qt 5 in MacPorts. Except that until now installing 
 it conflicts with port:qt4-mac ...
 
 So I think if we can support Qt 5.3 on OS X 10.6, 
 that would be ideal.  Of course it still remains 
 
 The current port:qt5-mac is Qt 5.3.2 . The fact it doesn't co-install with Qt 
 4 is just one of its issues, but it *should* build on 10.6 .


I’ve got 5.3 and 5.4 running from the Qt installer

   digression:
   what a pain to install like 12 hours each
   for a customer 1 installed the licensed version, boy complete install in an 
hour
   ie you pay you get fast downloads

Why can’t / doesnt macports do what Qt does - a complete directory for each 
install eg for me /opt/Qt5.3 /opt/Qt5.4 the only file I *need* to access is 
qmake. I guess the versions of designer and creator need to be wellKnown too.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-22 Thread James Linder

 On 23 Jan 2015, at 12:42 am, William H. Magill mag...@mac.com wrote:
 
 I cannot explain why a (normally) rational, sane thinking idiot did not 
 make that his first port of call (beautifully synced)
 
 Jan 21 00:04:34 haycorn kernel[0]: disk0s2: I/O error.
 
 Thanks everybody, and sorry for being an idiot
 
 I wouldn't immediately think about disk i/o errors either from the symptoms 
 you described (not for short freezes in anyway). Not with an hdd anyway.
 What's in your logs around those I/O error messages, and what do the 
 smartmontools (in MacPorts) tell about the disk's health? smartctl -a 
 /dev/disk0 and do run smartctl -t long /dev/disk0 (disabling disk spin down 
 for the duration of the test as that would interrupt it)?
 
 A bit too many reports of comparable symptoms in 10.9 somehow related to 
 disk I/O errors for my comfort zone. OS X wouldn't be doing something low 
 level that somehow stresses the disk hardware I hope?

I confess to bias suspecting yosemite before anything else!
smartctl -a gives zillions of errors eg

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000e   078   077   006Old_age   Always   
-   183829319
  3 Spin_Up_Time0x0003   100   100   000Pre-fail  Always   
-   0
  4 Start_Stop_Count0x0032   099   099   020Old_age   Always   
-   1749
  5 Reallocated_Sector_Ct   0x0033   100   100   036Pre-fail  Always   
-   0
  7 Seek_Error_Rate 0x000f   081   060   030Pre-fail  Always   
-   147598082
  9 Power_On_Hours  0x0032   078   078   000Old_age   Always   
-   19827
 10 Spin_Retry_Count0x0013   100   100   097Pre-fail  Always   
-   0
 12 Power_Cycle_Count   0x0032   099   099   020Old_age   Always   
-   1505
184 End-to-End_Error0x0032   100   100   099Old_age   Always   
-   0
187 Reported_Uncorrect  0x0032   001   001   000Old_age   Always   
-   34330
188 Command_Timeout 0x0032   100   100   000Old_age   Always   
-   0
189 High_Fly_Writes 0x003a   099   099   000Old_age   Always   
-   1
190 Airflow_Temperature_Cel 0x0022   058   040   045Old_age   Always   
In_the_past 42 (3 248 42 24 0)
194 Temperature_Celsius 0x0022   042   060   000Old_age   Always   
-   42 (0 16 0 0 0)
195 Hardware_ECC_Recovered  0x001a   038   025   000Old_age   Always   
-   183829319
197 Current_Pending_Sector  0x0012   100   100   000Old_age   Always   
-   2
198 Offline_Uncorrectable   0x0010   100   100   000Old_age   Offline  
-   2
199 UDMA_CRC_Error_Count0x003e   200   200   000Old_age   Always   
-   0

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-21 Thread James Linder

 On 22 Jan 2015, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 
 change mail from one entry to another: wheel turns for 10-20 seconds then 
 all is normal including change topic (repeat previous selection).
 firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
 seconds before resuming
 
 Thinking this may be a DNS issue I ran wireshark. wiresharks stops while 
 wheel is turning!
 
 system-monitor shows no (just got the wheel for 5 secs, no response to 
 usb-keyboard nothing interesting on system-monitor) sys-monitor (pause 
 again!) ticks every 5 secs even during wheel turning.
 
 
 What do you see in the system.log when (or after...) one of those wheelies? 
 Do you have power napping and what have you active?
 
 Did you use a 10.10 public beta and upgrade to the release version without 
 doing a clean install?
 
 I *hate* the app nap and sudden termination features that were introduced in 
 10.9 (it appears they actually experimented with app nap based on 
 SIGSTOP/SIGCONT ...), and am not really glad with the memory compression 
 features either. There's a defaults command to turn off app nap which I'd 
 advise for anyone rarely if ever running off a battery, but I have no idea 
 about tweaking that memory compression thing. And that's almost certainly 
 bound to slow down operation in a more continuous fashion than traditional 
 swap.


I cannot explain why a (normally) rational, sane thinking idiot did not make 
that his first port of call (beatifully synced)

Jan 21 00:04:34 haycorn kernel[0]: disk0s2: I/O error.

Thanks everybody, and sorry for being an idiot
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OT probably, help please

2015-01-21 Thread James Linder

 On 21 Jan 2015, at 2:38 pm, William H. Magill mag...@mac.com wrote:
 
 
 On Jan 20, 2015, at 10:28 PM, James Linder j...@tigger.ws wrote:
 
 G’day
 The other day I reported that gnuplot had suddenly stopped working with term 
 x11 but worked with term aqua.
 Maybe it was just slow !
 I have an issue where the system has (suddenly) become very slow …
 
 iMac 27 top:cpu free 99 ish %
 system-monitor also shows cpu cores at 0% busy
 men free 8G
 df 50 ish %
 yosemite
 
 change mail from one entry to another: wheel turns for 10-20 seconds then 
 all is normal including change topic (repeat previous selection).
 firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
 seconds before resuming
 
 Thinking this may be a DNS issue I ran wireshark. wiresharks stops while 
 wheel is turning!
 
 system-monitor shows no (just got the wheel for 5 secs, no response to 
 usb-keyboard nothing interesting on system-monitor) sys-monitor (pause 
 again!) ticks every 5 secs even during wheel turning.
 
 This seems unrelated to macports. Time machine is on an external USB disk 
 and scheduled to run now (another pause checks:TM disk definitly NOT busy)
 
 So before I nuke this install, any ideas gratefully acceped
 James 
 ___
 
 Sounds like issues with Anti-malware virus programs. 
 The ones that insert themselves into your tcp/ip data stream to examine all 
 of your traffic so that you don't' download bad stuff.
 
 I had to shut off thtat processing in Sophos because it had gotten so bad 
 (i.e. taking FOREVER to load any program that talked to the internet.)
 
 That was a sudden change in how Sophos was working. At first I thought it 
 was  simply because I had turned on the iCloud drive (which does impact 
 things).
 But after a lot of trial and no-luck turned off the option in Sophos.
 
 Long ago I had tried Avast! and discovered that it's anti-malware was simply 
 horrible in what it did to a Mac.

BSD and linux are pretty much of a muchness here. There are no malware or 
virus’ for either so I don’t do anti-virus, hence it’s not that. Thanks too to 
Jeremy it does not look like appnap stuff. (but it could be)

The whole virus scenario is messy. It has been demonstrated as proof of 
concept. Apple’s forray into Konqueror oops I mean Safari is an example of how 
to do it wrong. You basically don’t need to protect your mac, but someone may 
find a weak spot. Will anti-virus save you? $1,000,000 question.

Meanwhile I s-s-st-stu-stutter along debating nuking this whole install …
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


OT probably, help please

2015-01-20 Thread James Linder
G’day
The other day I reported that gnuplot had suddenly stopped working with term 
x11 but worked with term aqua.
Maybe it was just slow !
I have an issue where the system has (suddenly) become very slow …

iMac 27 top:cpu free 99 ish %
system-monitor also shows cpu cores at 0% busy
men free 8G
df 50 ish %
yosemite

change mail from one entry to another: wheel turns for 10-20 seconds then all 
is normal including change topic (repeat previous selection).
firefox:youtube watch a clip, midway stops playing and wheel turns for 5-10 
seconds before resuming

Thinking this may be a DNS issue I ran wireshark. wiresharks stops while wheel 
is turning!

system-monitor shows no (just got the wheel for 5 secs, no response to 
usb-keyboard nothing interesting on system-monitor) sys-monitor (pause again!) 
ticks every 5 secs even during wheel turning.

This seems unrelated to macports. Time machine is on an external USB disk and 
scheduled to run now (another pause checks:TM disk definitly NOT busy)

So before I nuke this install, any ideas gratefully acceped
James 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: /opt/local/macports/software

2015-01-19 Thread James Linder

 On 20 Jan 2015, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 Le 19 janv. 2015 ? 10:54, Ryan Schmidt ryandes...@macports.org a ?crit :
 So maybe we could reconsider the existence of this feature, or at least,
 the fact that its mandatory.
 
 If I remember correctly, the code for the old way with hard links was 
 removed from MacPorts. There is no way to go back to that method, without 
 rewriting the code.
 
 You're talking implementation details, I'm talking feature.  And the
 implementation is straightforward: rm -f /opt/local/macports/software/PORT
 when PORT was activated.
 
 Well, apt-get and the rest have no such equivalent.  They just deploy
 the software, period.  They don't keep a copy at hand, just in case.
 And yes, there's no acivate/deactivate (that I know of).
 
 If your installed files have become damaged, for example because a 
 third-party installer overwrote them, it's very nice to be able to fix it by 
 simply deactivating and re-activating the port.
 
 Yes, I'm sure it's nice.  I'm not saying the feature is useless, I'm
 saying I don't want to use it.
 
 apt-get is not typically used on OS X, which is the platform where concerns 
 regarding Spotlight and Time Machine occur. It would be more interesting to 
 compare against the other OS X package managers, Homebrew or Fink.
 
 I don't see how the OS is relevant in anyway here.

/var/cache is where apt-get stores everything
IMHO the argument is stupid. If you **need** those gigs then buy them. I just 
bought 1T at $0.0089 / gig !!

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


gnuplot

2015-01-05 Thread James Linder
I do not keep my ports upto date, I do not regularily update being an old fart 
and having been bitten many times by the inocuous upgrade that breaks verything.

My surprize when gnuplot stopped working in the last day or so is imense.

This line in my plot files causes gnuplot to not run:
set term x11 persist
 
I presume that despite my protestations apple has sneaked some upgrade into 
yosemite that is breaking gnuplot.
Can anybody shed some light on what is happening.

I use gnuplot daily with a 2 year old compiled program that says:

fprintf (fp, set term x11 persist\n
 set grid\n
 set xdata time\n
 set format x \%%d %%b\\n
 set timefmt \%%d%%b %%H%%M\\n
 set st da li\n
 set yrange [0:50]\n
 set multiplot layout 2,1\n
 plot “);

This is definitly not a command problem.
and not a new gnuplot versiom
…
Warning: port definitions are more than two weeks old, consider updating them 
by running 'port selfupdate’.

James

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


Re: MacPorts usage statistics

2014-12-08 Thread James Linder

 On 9 Dec 2014, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 
 In a sense we'd need a survey of which KDE4 ports are installed and in 
 active use!
 
 On MacPorts you mean?
 
 Indeed.
 
 Well, there is Clemens' mpstats project [1], but the number of users 
 contributing is still very small.
 
 That calls for a bit of lobbying -- or maybe a survey how many MacPorts users 
 were aware of the port's existence.

If one uses say a KDE Desktop how does that affect native aqua applications 
(any apps that don’t use X11/Quartz)
Thanks
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Virtual machines and OS X

2014-11-18 Thread James Linder

 On 19 Nov 2014, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 I'm running OS X 10.5 Server, 10.6 Server, 10.7 and 10.8 in VMWare Fusion. 
 Been doing that since running OS X 10.7 as host and am now at 10.10.
 
 You can download Fusion and trial it before paying and get an unlock code 
 (AFAIR you need to register to receive the trial unlock code).
 
 I'm using Fusion because back in the days Of 10.6 I needed to use some 
 obscure USB device in a Windows XP VM and Fusion was the only one running it 
 correctly while Parallels and Virtualbox failed.
 
 If you are on the paid Apple developer program you can download 10.5 Server 
 and 10.6 Server.
 
 Good luck
 
 Dominik
 
 
 Am 17.11.2014 um 22:33 schrieb Michael Crawford mdcrawf...@gmail.com:
 
 I don't think shared folders are implemented as network shares, some
 other method is used.  However if you do export a host folder as a
 share, your guest should be able to mount it.
 
 I was about to say that the folder is made to look like a regular disk
 drive but I'm not so sure, that would require the guest to manage the
 filesystem structure - allocating sectors c. - and that's not done
 with any of the VMs I've used.
 
 VirtualBox works on my MacBook Pro (Model Identifier MacBookPro10,1),
 but the one time I tried to install a Mac OS X guest, the guest
 panicked during boot because it was incompatible with the host
 microprocessor.
 
 I remain puzzled as to why that would be a problem.  What I wanted to
 do was run an earlier OS X so I could develop my iOS App with an older
 Xcode version, so I could use the iDevice Simulator to test my App
 with some now long-deprecated APIs.
 
 VirtualBox' doc specifically warns that a guest might not run on a
 later CPU model than Apple tested it with during development.  I still
 find that surprising, as all the CPU vendors work really, really hard
 to enable upward compatibility - like the Xeon in my desktop box can
 still do 16-bit MS-DOS just fine.  I've never known Linux, Windows nor
 BSD to ever have a problem with later CPUs.
 
 However if it's a kernel panic, xnu - the OS X kernel - might have
 used a supervisor-mode machine instruction that works differently than
 it does on earlier model of CPU.  Because Apple makes both the
 hardware and the software they might not be so concerned about making
 their code run on just anything:
 
  Installing Linux on a Dead Badger
  http://www.strangehorizons.com/2004/20040405/badger.shtml
 
 I don't recall clearly but I think I wanted to run Snow Leopard in a
 VM.  Either 64- or 32-bit would be fine.  If either Parallels or
 VMWare would work for me I'd really like to hear about it because I
 really do want to support the older iDevices with Warp Life, but I
 don't want to have to buy yet another Mac just for that.  It's not the
 money it's that I already own a whole bunch of computing devices, I
 don't want to have another taking up space.
 
 Parallels offers a free demo, I'll give that a try sometime soon.  Does 
 VMWare?
 
 Mike
 Michael David Crawford
 mdcrawf...@gmail.com
 http://www.warplife.com/mdc/
 
  Available for Software Development in the Portland, Oregon Metropolitan
 Area.
 
 
 On Mon, Nov 17, 2014 at 10:07 AM, Marko K?ning mk-macpo...@techno.ms 
 wrote:
 Hi Michael,
 
 eventually I had to purchase Parallels 9 because VirtualBox wouldn't allow
 to successfully run Mavericks guests on my Mavericks host running on an 
 i7-iMac.
 
 Parallels usually works fine if you _disable_ power saving on the guests!!
 
 Sometimes but I experience hanging guests! Only chance to recover from that 
 is
 to kill the VM in question from within the host system and restart it (which
 means a cold reboot). This usually happens when there is a lot of load with
 e.g. two VMs running with 7 cores each on the i7 (which has 8 real cores 
 only).
 This can also happen when you're creating a snapshot, while the 2nd machine 
 is
 very busy.
 
 Sometimes also the keyboard's CAPSLOCK is engaged, although the keyboard's
 CAPSLOCK LED isn't lit. Recovering from that you will be pressing the key a
 couple of times until the LED is back in sync with what you type.

VirtualBox is a bitch to get working, but it is possible, I have done it. 
Parralels and fusion are easy but they won’t install anything in violation of 
the license, in particular they won’t install Snow Leopard (and presumably 
anything earlier)
Also, without doubt baby duck, VirtualBox is much easier - more intuitave, they 
are much more doan-toucha-da-buttons.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Virtual machines and OS X

2014-11-18 Thread James Linder

 On 19 Nov 2014, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 I don't recall clearly but I think I wanted to run Snow Leopard in a
 VM.  Either 64- or 32-bit would be fine.  If either Parallels or
 VMWare would work for me I'd really like to hear about it because I
 really do want to support the older iDevices with Warp Life, but I
 don't want to have to buy yet another Mac just for that.  It's not the
 money it's that I already own a whole bunch of computing devices, I
 don't want to have another taking up space.

Actually it is messier yet. You cannot install xcode on Snow Leopard any 
longer. Since this is a foobar of great magnitude (and exists because the 
certificate Apple uses to install xcode has expired) one can hope that they 
will fix the error. MEANWHILE unless you have a working development system you 
can’t get one (at lease for snow leopard and when I tried to install 
snowleopard from the supplied DVDs)

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Cannot get gimp app running

2014-10-31 Thread James Linder

 On 1 Nov 2014, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:
 
 Before upgrading to Yosemite, MacPorts v2.3.2 and Xcode 6.1, GIMP app was
 accessible by icons at the Applications Folder and the Launch Pad, and by
 the contextual menu. After the upgrade, none of these options is shown.
 
 The gimp2 port and all its dependencies are apparently correctly installed
 and active.
 
 Ports that ?as far as I know? never had shown an access icon (Inkscape,
 FreeCAD) can be launched typing its name on a Terminal window.
 
 I cannot get the gimp app running.
 
 The outcome of a Spotlight search for gimp2 gives a series of results that
 I do not know how to interpret. Maybe you can advise me. Thank you.

I was debating a ‘me too’ reply since it works for me, but looking in the Apps 
directory shock, horror, gasp it is indeed not there! I always right click 
open with gimp and have never noticed it NOT in apps. Platypus is a nice 
launcher creator. For the record: yosemite, macports, gimp.
If you do not like the linux way of handling the menu then the sourceforge 
version of gimp is native and does install a launcher.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Gimp (Thomas Bodlien)

2014-10-07 Thread James Linder

 Gimp is not starting on OS X 10.9.2.
 Can somebody check that?

Much as I don’t like grabbing the menu buttons the native OSX build works while 
the same version from macports (and fink!) has a truckfull of minor glitches 
(same version) nothing comes to mind, but irritating enough to ditch macports 
version in leau of the native build.

so ...
http://sourceforge.net/projects/gimponosx/files/GIMP%20Mavericks/Gimp-2.8.14p1-Mavericks-Yosemite.dmg/download

James

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


Re: Gimp (Thomas Bodlien)

2014-10-07 Thread James Linder

But having said that I just installed macport version (again) and my 5 min play 
yielded no problems :-)

 Gimp is not starting on OS X 10.9.2.
 Can somebody check that?

Much as I don’t like grabbing the menu buttons the native OSX build works while 
the same version from macports (and fink!) has a truckfull of minor glitches 
(same version) nothing comes to mind, but irritating enough to ditch macports 
version in leau of the native build.

so ...
http://sourceforge.net/projects/gimponosx/files/GIMP%20Mavericks/Gimp-2.8.14p1-Mavericks-Yosemite.dmg/download



James

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


Somewhat OT was liblzma and ffmpeg

2014-10-04 Thread James Linder

On 5 Oct 2014, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:

 'evening!
 
 I'm doing a selfupdate, which includes upgrading ffmpeg 
 +gpl2+nonfree+universal+x11 from 2.3.3_0 to 2.4.1 . That went fine on 10.6, 
 but on my 10.9 VM I'm running into an issue involving liblzma, which 
 apparently is not universal, and thus gives me a failure when merging 
 libavcodec.pc .
 
 Curiously, I have neither port:lzma nor port:liblzma installed (on both 
 set-ups). `port provides` doesn't work for me so I'm at a loss where the 
 liblzma.dylib comes from ...
 
 In any case there seems to be something fishy with ffmpeg's Portfile?
 
 Any suggestions?
Could you wax lyrical for a moment on how you did a VM. Mail me off list if the 
answer is politically incorrect for the list.
I’ve been trying to use VirtualBox on my mac. It wont install (even with EFI 
bios) (and to be pedantic: a mac guest, both windows and linux guests are 
perfect) and although I did get a snow leopard install to run by going the 
hackintosh route it was unstable.
Thanks
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Poll: Of Qt and KDE applications on OS X, and the About/Preferences menu.

2014-09-16 Thread James Linder

On 17 Sep 2014, at 9:52 am, Brandon Allbery allber...@gmail.com wrote:

 On Tue, Sep 16, 2014 at 7:55 PM, James Linder j...@tigger.ws wrote:
 all too reminescent of winders: lets see unix uses /, well fum we’ll use \
 
 By the way, I would point out that the Mac way was the original one; 
 per-application menubars were Microsoft being different just because 
 Microsoft, and OSF/Motif openly imported the Microsoft Windows 3.x design and 
 mindset without any shame (calling it Common User Access) and it's held 
 sway on Unixes ever since. Before that, X11 programs didn't have *any* 
 menubars; they had menu buttons like editres (and not always at the top!), or 
 various control-meta-cokebottle-clicks like xterm.
 
 So it's pretty ironic that you accuse the Mac single menu bar of being like a 
 Windows-ism, when the per-app menubar is *literally* a Windows-ism.

But Sir I doth protest
I DID attribute being different on principal to Microsoft
and I did attribute my bias to Baby Duck

So, as Brandon opined, having the source available makes the poll meaninless.
The divergent opinions say that having a choice is very important and 
restricting choice is irratating and renders your software as ‘junk’ if it does 
not comply with the users view of what is correct.

Cheers all, and to the extent that I meandered OT I appologise
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Having trouble starting gnome-terminal on Mavericks

2014-05-30 Thread James Linder

On 31 May 2014, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:

 I just installed gnome-terminal on Mavericks, but I can't start it:
 
 Error constructing proxy for
 org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling
 StartServiceByName for org.gnome.Terminal:
 GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
 org.gnome.Terminal exited with status 1
 
 I'm using XQuartz 2.7.6 as my X server.  The error is the same in both
 Terminal and xterm.  I've tried starting dbus stuff manually as per the
 instructions in port notes dbus, but that hasn't helped.

A while ago (this year) Brandon helped me lots when I had the same problem. I 
don’t exactly recall what fixed it peek in the archives.
I’m using iTerm now which does all I wanted from gnome-terminal with only minor 
irritants.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: taskgated: no signature

2014-03-17 Thread James Linder

On 18 Mar 2014, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:

 Yeah, that was all I meant by saying on Mountain Lion and higher was that
 it was conditionally declared like that; I did *not* mean to imply that I
 was on Mountain Lion myself... (I am actually still on Snow Leopard so
 `port notes gdb-apple` says the same thing for me as it did for Ian; I only
 knew about them because I have been working on my own copy of the Portfile
 recently...)

And shock horror gasp if you ever ‘upgrade’ you can’t go back, even if you have 
the install CDs
(All about expired certificates for xcode)

(I tried MBR and UEFI versions of various linux, always putting OSX back, so I 
installed Snow Leopard from CD 3 or 4 times, ha ha not any more)
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: clang memory usage vs. gcc (and OS X 10.8, 10.9, ...)

2014-03-17 Thread James Linder

On 18 Mar 2014, at 3:00 am, macports-users-requ...@lists.macosforge.org wrote:

 Well yes, of course. I was thinking as much as a test, to see if its the 
 optimisations that are the issue, as it is for me, than as a solution. In my 
 case i simply could not compile at all without -O0... without it, the memory 
 usage hit around 9GB before being killed by our nightly regression testing 
 framework. If your case is not so bad and you can get by, then fine
 
 
 Anyway, on #calligra someone just claimed he got about 1200MB peak memory 
 usage building gmic.cpp with Apple's clang-3.4 . If someone else can 
 confirm that the issue is rather moot (meaning I can continue to use g++ 
 for just this file on 10.6 ... )
 ___
 
 I've just been testing this a bit on my 10.9.2 VM with the latest Xcode (5.1, 
 clang 3.4svn) installed. That VM has only 2.5GB of RAM (which it sees as 4GB, 
 curiously). Still, gmic.cpp compiles much better with clang++ on that set-up 
 (haven't tested clang-mp-3.3) though g++ still uses less memory (1.2 vs 1.4GB 
 real peak) and completes about twice as quick. However, things go downhill 
 again with clang 3.5 (from MacPorts). I've seen a peak real mem. usage of 
 1.75GB, and it is now sitting at 10%CPU with around 200MB real memory, but 
 with red memory pressure and 1.72GB total compressed memory.
 
 If you feel like filing reports against a current clang version, you might 
 want to check the 3.5 version on your code...

Somewhat OT so would you mind mailing me directly (unless of interest here)
I’ve tried a few times to install a VM on my iMac 27. I dont recall detail but 
every install failed with VirtualBox *except* the hacked snow leopard install 
that I can install on any hardware …
Snow_Leopard_Client_Server_10.6.2_SSE2_SSE3_Intel_AMD_by_Hazard.iso

So … what did you do and how?
Thanks
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: building kde4-baseapps

2014-03-03 Thread James Linder

On 4 Mar 2014, at 4:00 am, macports-users-requ...@lists.macosforge.org wrote:

 I think that is pretty much out of the question, unless you run a virtual
 machine.  I am not sure where Linux is up to with dual-booting on Mac.
 When I last looked, about two years ago, it was possible with Windows
 (using Apple's Boot Camp) but not with Linux.
 
 It is trivial to make Linux boot on a Mac - I have a number of Mac Pros 
 booting into Ubuntu at work. Either single, double or triple (or more) boot. 
 Same hard drive or different ones. You can use rEFIt for help in choosing a 
 boot partition.

Actually it is extraordinarily non trivial:

I have an iMac 27.
OpenSuse - does not see the USB at all
Arch - EFI boot and boots sweetly
Ubuntu - does not see the USB - many methods to make USB including 
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
XUbuntu - does see the USB (thats bizare, many checks - it’s true!) but after 
boot ‘cannot find a live filesystem')

Every USB stick works elsewhere even on EFI bios machines :-(
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Tears and Wailing

2014-02-17 Thread James Linder

On 18 Feb 2014, at 12:29 am, David Strubbe dstru...@gmail.com wrote:

 In this context, what would clutch dagga between teeth and climb to top of 
 tower mean…?

This is an expression of ultimate hopelessness and dispair, the implication 
being to jump from the tower. That said Brandon gave me a huge amount of help 
and guidance so that at dusk with the light behind me (Gilbert  Sullivan) I 
could almost say I like mavericks, and in particular all my macports are 
working correctly :-)
James

 
 
 On Sun, Feb 16, 2014 at 8:32 AM, Landon J Fuller land...@macports.org wrote:
 
 On Feb 14, 2014, at 8:42 PM, James Linder j...@tigger.ws wrote:
 
 I don't like mavericks spaces ...
 
 This is a non-MacPorts aside, but I highly recommend:
http://totalspaces.binaryage.com
 
 If you also disable Displays have separate Spaces in System Preferences - 
 Mission Control, everything works like it used to.
 
 I have no idea why Apple so completely broke their virtual desktop 
 implementation for those of us that very much liked spatial virtual desktops, 
 but this fixes it, for now.
 
 -landonf
 
 
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users
 
 

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


gnome-terminal profiles

2014-02-15 Thread James Linder
Hi All
if anyone *knows* then the answer will save me ages of spelunking. I already 
spent an hour or two …

Where does gnome-terminal store it’s profiles?
I’ve looked in all the predictable places!

Thanks
James

PS OT but may help someone: Despite mail-preferences-composing-spell check 
[never] mail *still* fools with your words. System Preferences-Language-text 
allows you to succeed
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Tears and Wailing

2014-02-14 Thread James Linder

Preamble:
I had an iMac 27 running Snow Leopard with Macports - happy for years
I wanted to do some android and ios stuff with Qt so I needed Qt5 which 
needs Mavericks
I installed mavericks and all was good for a while but then eg 
gnome-terminal would not run
I don't like mavericks spaces, their mail (thanks for comments Ryan, but 
it is still not right), also my linux boxen and mavericks would not play 
together with printing (much spelunking and CUPS fiddling).

So I reinstalled snowleopard but the certificates for xcode have expired
So I bit the bullet and reinstalled maverics

Now:
Everything worked ...
I tried to (including the dbus stuff) install gnome-terminal
No Error
gnome-terminal wont start
now NONE of the X11 things (gnuplot, xsane) will start

I removed macports and all trace of macport files as per the docs

I reinstalled mackports and built gnuplot, xorg-server, wget, xsane

both xsane and gnuplot just hang (yes I did log out)

Short of clutch dagga between teeth and climb to top of tower can 
anybody lend me a suggestion please.


PS qt apps build and display without issue and mythfrontend works fine too.
(I thought that they did use X11)

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help ...

2014-02-11 Thread James Linder

On 11/02/2014, at 11:25 PM, Brandon Allbery wrote:

 On Mon, Feb 10, 2014 at 10:07 PM, James Linder j...@tigger.ws wrote:
 I reinstalled snow leopard but xcode failed to install 'Unknown error ...
 The googled fixes did not work, but that with support and deep black magic 
 and xcode installed
 
 You installed Xcode 5 on Snow Leopard?! Xcode 3.6 would have been smarter 
 (you can still find it buried in the apple developer downloads).
  
 Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: 
 Error calling StartServiceByName for org.gnome.Terminal: 
 GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process 
 /opt/local/libexec/gnome-terminal-server exited with status 1
 
 Is dbus running? Both sides (there's a LaunchDaemon running as root and a 
 LaunchAgent running as you)?

Brendon why do you think xcode 5? It is 3.6.2
(And much spelinking shows that the certificate for the iPhone SDK has expired 
so I installed the unix tools only, that worked)

In desperation I installed gnome-terminal from fink. It too does not work, but 
for other reasons. But NOW the mac ports version does work !!
Clearly dark magic is happening, but I want a terminal for other stuff, so I'm 
happy (but confused)

I had already done launchctrl as prescribed - the LaunchDaemon and LaunchAgent 
are a total mystery to me, where can I learn about?

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


help ...

2014-02-10 Thread James Linder
Hi

A very long story in 3 lines

I really really don't like mavericks ... so
I reinstalled snow leopard but xcode failed to install 'Unknown error ...
The googled fixes did not work, but that with support and deep black magic and 
xcode installed

but now ...

haycorn:DMG jam$ /opt/local/bin/gnome-terminal 
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: 
Error calling StartServiceByName for org.gnome.Terminal: 
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process 
/opt/local/libexec/gnome-terminal-server exited with status 1

(gnome-terminal:37732): GLib-WARNING **: poll(2) failed due to: Bad file 
descriptor

Can someone wiser than I say words of wisdom?

Thanks
James

PS wunz-upon-a-time everything DID work, meanwhile upgrade to mavericks, wipe 
disk, reinstall snow leopard, reinstall live (again)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


xsane

2014-01-26 Thread James Linder
Hi
for technical reasons I broke my principals and upgraded my snow leopard to 
mavericks. Oh how I rue the decision! but I digress …
To overcome the CUPS chaos with mavericks (bugs in cups 1.7 mean I was unable 
to print to my linux server), 
So I put the printer on this system. Now I can print but I can’t print FROM my 
linux host to mavericks.

So I moved the scanner to mavericks and installed xsane from macports, but 
xsane's printer is only a lpr and I cannot copy (i.e. scan to printer)

Has anybody put xsane on mavericks and got it to print?

Thanks
James

PS
I hate posts that are strong on opinion and weak on detail, so my major 
dislikes are tabled. This is OT and FYI only …
The useful spaces has been replaced with some arty-fatty 
Ive-never-used-spaces-but-this-is-a-better-way
A dreadful FileStatAgent kept 1 core at 100% for days on end, and NO I do not 
do mp3 only ogg. At least the bit bucket in the sky :-)
Someone decided to change the mail, not to make it better, just to have it 
different. Even the dreaded winders give you an option for classic view on 
their arty-fatty changes
I’m surprised at how often I try to use the mouse to deactivate the screen 
saver; often enough to make it a pain that mavericks won’t do so.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: phinze/homebrew-cask on the same system like MacPorts

2013-12-18 Thread James Linder

On 19/12/2013, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 I switched back to MacPorts, because brew have to less packaged
 software. Now found an interesting project about native GUI application=
 s.
 =20
 https://github.com/phinze/homebrew-cask#readme
 =20
 Can I install both on my MacBook Air?
 
 I wouldn't recommend having both Mac Ports  homebrew (cask or
 otherwise) installed  in regular use at the same time on the same machin=
 e.
 
 For more info on the subject, check the list archives where you'll find
 plenty of advice (just search for homebrew and/or /usr/local).

I hate answers that are opinions without justifing

If you are aware and technical enough to avoid the pitfalls then it's easy and 
works well

else

It's a bad idea as each install can use bits (eg libs) from the other resulting 
in utterly baffling errors that the people trying to help are confused by. If 
all works then good. If all does not work don't ask for help - it wastes time 
from the kindly folk who try to help.

James 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Any chance of seeing a port of Conky?

2013-12-02 Thread James Linder

On 03/12/2013, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 iStat Menus costs $16  where as gkrellm costs nothing.
 
 I didn?t say iStat Menus. I said iStats Pro, which costs nothing.
 
 
 gkrellm is much more fun, customising, skinable and there are plugins.
 
 Cannot argue there.
I must be a bear of little brain (Winnie ther (sic) Pooh) but I cannot see how 
they put info on the root window a la the screenshots.

Is it a theme?
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Macports doesn't use latest Amarok release ?

2013-10-21 Thread James Linder

On 22/10/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 - why it's trying to compile 2.6 version of Amarok instead of 2.8 that has
 been released 2 months ago already ?
 
 Because no one's requested it. Please file an update ticket.
 
 I appear to have been working on updating the port to 2.7 in March but their 
 code had bugs that made it not compile with clang (error: expected a class 
 or namespace). There may have been further issues after that as well. I can 
 try again with 2.8.

After many attempts I use clemintine. It works well.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: newbie

2013-08-17 Thread James Linder

On 18/08/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 I am new in OSX world but I was long time FreeBSD user. 
 I start using 'homebrew and I installed some applications. I search for some 
 program more and I found them in macports.
 And my question is: Do I need to uninstall everything what I installed with 
 hombres (included home-brew) or it is possible to have both t same time, 
 please?
 Another question is about KDE4 (I saw in pots.ow it works? I was KMail user 
 very long time.

I've also been a kmail user for years, but apple mail is one of the few apple 
apps that is much better, apple mail is nicer than kmail. I spent years 
fighting with nepomuk.

If you are experienced with unix then running homebrew and fink with macports 
is easy. If not then heed the advice and use only one.

James

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


Re: newbie

2013-08-17 Thread James Linder

On 18/08/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 Another question is about KDE4 (I saw in pots.ow it works? I was KMail user 
 very long time.
 
 Most KDE 4 apps work quite well in Mac OS X using Macports.  The underlying
 Qt 4 library is qt4-mac and it uses native Mac window and widget styles.  
 KMail
 could be a problem.  It is now bound up with other KDE personal information
 apps, Akonadi and an SQL server.  You cannot get it as stand-alone.  I have
 asked about that on the kde-devel list.  So I ended up using Mac OS X's Mail 
 app.
 
 Installing the whole KMail, Kontact, Akonadi, etc. suite on Mac OS X and 
 getting
 it to work is quite an effort and I have not heard of anybody succeeding with 
 it.
 
 I also suggest you install KDE stuff in easy stages at first because there are
 loads of dependencies: first qt4-mac, then kdelibs4 and finally your choice
 of KDE app(s) --- and keep an eye out for the notes on the post-installation 
 work
 you need to do.  If you missed them, you can run port notes to see them 
 again.

A final comment - I really do not like apples way of hijacking the menu.
with qt apps it is easy to apply

menuBar()-setNativeMenuBar (false);

which restores sane:not-flame-bait behaviour
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Error when trying to install putty (Giuseppe Tumminia)

2013-07-14 Thread James Linder

On 15/07/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 I have installed the following:
 Xcode Version 4.6.3 (4H1503)
 MacPorts 2.1.2
 Latest XQuartz
 
 My system info is:
 System Version:OS X 10.8.4 (12E55)
 Kernel Version: Darwin 12.4.0
 
 I followed this steps:
 http://www.codingsteps.com/installing-and-using-putty-on-mac-os-x/
 
 at the end when i type:
 
 sudo port install putty
 
 I get this message:
 
 {{{
 Error: Unable to execute port: Could not open file:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/putty/Portfile
 }}}

Umm the bigger picture ...
Why would you try to install putty on a system that has all the ssh tools 
natively? 
ssh, scp, sftp etc

I know that avoids the macports question, sorry!
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: suggestion

2013-06-13 Thread James Linder

On 14/06/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 While download statistics might not be a good system, I do concur that 
 MacPorts very much would benefit from having a discovery mechanism by 
 which users find out about useful ports.  Searching is nice, but it's not 
 discovery.  Some kind of top ports list (however implemented) would be 
 useful, imho.
 
 Personally, I fail to see how a 'top ports' list would tell me much. The 
 ports i find essential are likely very different from others, so i don't 
 see how using some sort of a list showing the most used ports would help 
 me in any way in choosing new ones to install. Some ports likely have a 
 low user base, but never less are critical to those that need them, such 
 as more esoteric ports from the science section.
 
 +1
 
 let's say it turns out people download firefox a lot.
 then what?

I can't fathom this, how bizare, BUT it is the mac paradigsm - what are other 
people doing, is it good, can I have one?
My wife understands.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Macports

2013-06-13 Thread James Linder

On 14/06/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 I have installed Macports to try to install the GIMP software. I have 
 installed it but now don't know how to use it, uninstall it or even get off 
 of this mailing list. Can anyone help me out?

I use macports lots, I really like it, but (OSX 10.6.8 8M RAM Gimp 2.8.2) I 
really found the macports version of gimp to cause many problems. I have 
installed 
http://www.petapixel.com/2012/08/29/gimp-is-now-a-self-contained-native-app-for-mac-os-x/

I do not prefer the mac ummm-idiosyncrasy of stealing the menu buttons, which 
this version does (and macports build does not), so I'm biased to the macports 
version but the macports version takes umm 30-60 secs to pass the splash screen 
while scanning plugins, has core-dumped on me and generally runs in a manner 
that make you think about saving your work all the time, not about what you are 
doing.

I have tried a few times to update, clean and rebuild without being satisfied.


James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Foolish

2013-04-18 Thread James Linder

On 18/04/2013, at 12:01 PM, Brandon Allbery wrote:

 On Wed, Apr 17, 2013 at 11:23 PM, Bradley Giesbrecht pixi...@macports.org 
 wrote:
 On Apr 17, 2013, at 7:37 PM, James Linder wrote:
  :info:build ld: warning: directory '-L/opt/local/lib -arch x86_64 
  /System/Library/Frameworks -Wl,-dynamic,-search_paths_first' following -F 
  not found
  :info:build ld: file not found: /opt/local/lib/libx264.119.dylib
 
 Possibly a missing dependency by some port on port:x264:
 $ port provides /opt/local/lib/libx264.128.dylib
 /opt/local/lib/libx264.128.dylib is provided by: x264
 
 Might want to look at the immediately preceding :info: line again; that looks 
 suspiciously like a missing quote somewhere.
 
But it did build before upgrade 
James
...
:info:build make[2]: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs/libmythupnp'
:info:build rm -f libmythupnp-0.25.0.25.0.dylib libmythupnp-0.25.dylib 
libmythupnp-0.25.0.dylib libmythupnp-0.25.0.25.dylib
:info:build /usr/bin/g++-4.2 -headerpad_max_install_names -L/opt/local/lib 
-arch x86_64 -F/System/Library/Frameworks -Wl,-dynamic,-search_paths_first 
-arch x86_64 -single_module -dynamiclib -flat_namespace -compatibility_version  
  0.25 -current_version   0.25.0 -install_name
/opt/local/lib/libmythupnp-0.25.0.dylib -Xarch_x86_64 -mmacosx-version-min=10.6 
-o libmythupnp-0.25.0.25.0.dylib mmulticastsocketdevice.o httprequest.o upnp.o 
ssdp.o taskqueue.o upnputil.o upnpdevice.o upnptasknotify.o upnptasksearch.o 
httpserver.o upnpcds.o upnpcdsobjects.o bufferedsocketdevice.o eventing.o 
upnpcmgr.o upnpmsrr.o upnptaskevent.o ssdpcache.o configuration.o soapclient.o 
mythxmlclient.o mmembuf.o upnpserviceimpl.o htmlserver.o serverSideScripting.o 
servicehost.o wsdl.o upnpsubscription.o xsd.o serializer.o xmlSerializer.o 
jsonSerializer.o xmlplistSerializer.o moc_httpserver.o moc_ssdpcache.o 
moc_serverSideScripting.o  -F/opt/local/Library/Frameworks -F/opt/local/lib 
-F-L/opt/local/lib\ 
 -arch\ x86_64\ /System/Library/Frameworks\ -Wl,-dynamic,-search_paths_first  
-L../libmythbase -lmythbase-0.25 -L../libmythservicecontracts 
-lmythservicecontracts-0.25 -lXv -lXrandr -lxml2 -lcrypto -L/opt/local/lib 
-lx264 -lmp3lame -lm -lfreetype -lz -lbz2 -F/opt/local/Library/Frameworks 
-F/opt/local/lib -framework QtScript -framework QtCore -framework QtSql 
-framework QtXml -framework QtGui -framework QtNetwork  
:info:build ld: warning: directory '-L/opt/local/lib -arch x86_64 
/System/Library/Frameworks -Wl,-dynamic,-search_paths_first' following -F not 
found
:info:build ld: file not found: /opt/local/lib/libx264.119.dylib
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [libmythupnp-0.25.0.25.0.dylib] Error 1
:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs/libmythupnp'
:info:build make[1]: *** [sub-libmythupnp-make_default] Error 2
:info:build make[1]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs'
:info:build make: *** [libs] Error 2
:info:build make: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv'
:info:build Command failed:  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv
  /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port mythtv-core.25 returned: command 
execution failed
:debug:build Error code: CHILDSTATUS 14309 2
:debug:build Backtrace: command execution failed
while executing
system -nice 0 $fullcmdstring
(eval body line 1)
invoked from within
eval system $notty $nice \$fullcmdstring
invoked from within
command_exec build
(procedure portbuild::build_main line 8)
invoked from within
$procedure $targetname
:info:build Warning: targets not executed for mythtv-core.25: 
org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port mythtv-core.25 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/main.log

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


Foolish

2013-04-17 Thread James Linder
I allowed myself to be seduced by 'self upgrade' and 'upgrade outdated' (I was 
installing git)
sooo
can the Maintainers of MythTV attend to the totally broken port please.

mythtv-core.25 @0.25.3-Fixes-20121025 (multimedia)

...
:info:build make[2]: Nothing to be done for `first'.
:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs/libmythui'
:info:build ld: warning: directory '-L/opt/local/lib -arch x86_64 
/System/Library/Frameworks -Wl,-dynamic,-search_paths_first' following -F not 
found
:info:build ld: file not found: /opt/local/lib/libx264.119.dylib
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [libmythupnp-0.25.0.25.0.dylib] Error 1
:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs/libmythupnp'
:info:build make[1]: *** [sub-libmythupnp-make_default] Error 2
...

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: macports on linux

2013-04-02 Thread James Linder

On 03/04/2013, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 If not, the old fashioned way of installing via a tarball is pretty much
 the way to go. Linux is pretty much set up out the box to do this (after
 installing 'Development Tools' or build-essential  so on) so it's
 usually no sweat.
 
 This is what pkgsrc uses as a interoperable solution (afaik there are some 
 pkgsrc peoples here within macports) BUT including a clean software 
 management 
 allowing clean installs, deinstall, rolling updates, feature management etc. 
 (as macport does on Mac only).

My $0.02

The (original) comment is off-the-cuff and not well considered:

Both rpm and deb build systems are as easy (or IMHO easier) than macports.
If (and there are many ways, gentoo and archlinux are already mentioned) you 
use SuSE's build service you can get already created pretty much the latest of 
anything you choose (I admit being wrong a few times).

So I think saying 'lets doit with macports' is a silly idea that glosses over 
the already working systems because (say) apt-get on ubuntu gets old packages 
(which it is supposed to do !! I want a working well debuged stable whatever, 
not the latest greatest attempt)

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


gnome-terminal unicode

2013-03-11 Thread James Linder
Hi

can anybody guide a bear of little brain please:

I've built and use gnome-terminal.
I need to read unicode in it

eg my russian screenshots are ?.png
chinese files eg CAN???.rar

I use QT with make. I'm pounded with 'did you forget ?;?' type messages.

All of which are nice and sensible on any of the linux platforms. How do I 
setup the fonts?

Thanks
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Side effects?

2013-02-01 Thread James Linder

On 02/02/2013, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 CLI does the job nicely and well, why on earth would you seek to make an 
 easy, automateable task hard/impossible.
 
 Here are a few things that a GUI can do that the CLI cannot:
 
 1. Filter ports by category. port offers no way to see all the aqua 
 ports, for instance.
[haycorn] /Users/jam [503]% port list |grep aqua
Warning: port definitions are more than two weeks old, consider using selfupdate
AppHack@1.1aqua/AppHack
AppKiDo@0.988  aqua/AppKiDo
AquaLess   @1.6aqua/AquaLess
ArpSpyX@1.1aqua/ArpSpyX
AssignmentTrackerX @2.0beta3.1 aqua/AssignmentTrackerX
BGHUDAppKit@0.7aqua/BGHUDAppKit
BigSQL @1.0aqua/BigSQL

etc

 2. Browse and sort ports visually. port list dumps all available ports 
 to the Terminal, but you can't sort them with a single click.
 3. Get the homepage of a port with a click. A GUI can format web pages 
 as hyperlinks, but port info can't.
 4. Save yourself from fat-fingering the command invocation to install a 
 particular port.
port install wossname

 CLI is an essential tool, and for uber-power-users it may be easier than 
 a GUI. But for a high-level view of MacPorts, the GUI is better, in my 
 view.

I notice that I almost never use synaptic (GUI) but do use 
apt-[cache][get][file] or dpkg [lower level] for my debian based systems.
I know of no GUI rpm tools for rpm based distros.

In any event the great thing about foss is YOU choose what/how YOU do stuff. I 
wanted to hear the perspective of someone doing what-I-think-is-daft. Thanks.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Side effects?

2013-01-31 Thread James Linder

On 01/02/2013, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 
 One time funding (pay for a task) is (arguably) different than routinely 
 asking for money. We have had trolls in the past like that, simply feeding 
 off people.
 
 Well, I don't think I'm a troll...for a long time PortAuthority was the 
 only viable GUI tool for MacPorts. See this ancient blog entry calling 
 for a MacPorts GUI at GSoc:
 
 http://ihack.us/2008/03/24/building-a-gui-for-macports/
 
 Dr. Ernie called PA a clever product and the state-of-the-art at the 
 time.
 
 GUI programming is hard. I think that's one reason why a free, 
 open-source GUI tool for MacPorts has never really taken off: I have 
 literally watched such tools come and go over the past eight or nine 
 years that I've been a MacPorts (formerly DarwinPorts) user.
 
 One reason I'm still at it is PA provides a modest amount of income for 
 me. And if PA makes MacPorts more usable to some, and attracts more 
 users, then that's to MacPorts' benefit as well.
 
 If a professional-level, full-featured, open-source GUI tool for 
 MacPorts came along, I'm sure the community would embrace it. I would 
 certainly welcome the competition. But finding someone devoted enough to 
 do that level of work, for free, as a volunteer, is a real challenge. 
 No free/OSS GUI tool for MacPorts comparable in professionalism to 
 Fink's FinkCommander has ever emerged.

Actually, speaking for myself, I think that a GUI interface would be most 
horrid.
CLI does the job nicely and well, why on earth would you seek to make an easy, 
automateable task hard/impossible.
'Course I speak from the perspective of someone who went to great effort to get 
arduino to build with make, and just for the record I write Qt stuff where 
appropriate.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Side effects?

2013-01-31 Thread James Linder

On 01/02/2013, at 4:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 It is routinely a GSoC project, and since we were not chosen last year it 
 has definitely fallen behind.
 
 BTW, does Macports have a nice safe GUI?
 
 If I knew what tools to use on Apple Mac, I might have a crack
 at it myself.  I have had quite a bit of experience with designing
 and programming GUIs, databases, SQL, Shell scripts and an
 in-house GUI-based build system where I used to work.

Ian I just poured boiling water on the idea :-)
but
Qt from macports works well, is easy and is nice. It frees the 'simple clean 
and nice language buried in C++' (not my words).
It is very configurable, I don't like apple's No Mnumonics and hijack the menu 
to the toolbar. Qt lets me do it my way.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Cross compiling for Windows

2012-09-24 Thread James Linder

On 25/09/2012, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 Sorry for the kind of OT post, but can anyone help me get it straight on how 
 to cross compile something for Windows?
 I know kind of the last step how to make configure (if there is one) 
 understand that I want to cross compile. I am sucessfully cross compiling 
 for ppc with the old xcode 3.2x stuff but for that everything is pretty much 
 pre set up.
 
 The main (and almost the only) thing you need to know is to use
i386-mingw32-gcc / i386-mingw32-g++
 as the compiler instead of gcc / g++ and you'll get 32-bit windows binaries.
 
 However, if you want to cross-compile a complex existing project, it
 probably won't work out-of-the-box and you would have to carefully
 modify it. (Cross-compiling for ppc is much easier since Apple
 supported that well, and one is compiling for the same OS.)
 
 One difference is for example that you cannot just run the newly
 compiled binaries (for windows), but developers may have planted many
 more eastern eggs into the building chain.
 
 Last time when I wanted to cross-compile my own source code, a very
 small  easy project, I spent a month fighting, just to realize that
 there was a bug in ld and upgrading to a newer version in MacPorts
 solved the problem.
 
 So what are the steps to cross compile for Windows?
 
 The question is probably too generic. It all depends on the type of
 project and how it's set up to be built. But if you build manually,
 just using the right compiler (and having the right libraries
 available?) should be sufficient.

I guess the answer also depends on weather you want to be kewl and boast that 
you cross compiled or just get working stuff.
I run a windoze develepment machine in VBox. That way it is easy to do and you 
can make use of existing packager tools that are windoze bound.
That said I make the occasional package for win using Qt that lets me do 
mac/linux/win from the same source, but I do very little win stuff.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Installing ports in parallel

2012-09-12 Thread James Linder

On 13/09/2012, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 I don't find a way to let port install multiple independent ports in
 parallel to maximally use the cores on a machine. Is there a way to do
 so? Thanks!
 
 This used to be allowed (unintentionally, I think) and would sometimes work, 
 as long as the ports you were installing were truly independent of one 
 another (including their complete dependency chains). But as soon as you 
 started trying to do simultaneous port installs where parts of the 
 dependency chains overlapped, and some of those overlapping dependencies 
 were outdated or not installed yet, things did not work. Confusing error 
 messages were printed that users often did not understand.
 
 We fixed the problem a few versions of MacPorts by introducing a lock 
 mechanism that ensures that you can only install one port at a time. I miss 
 the parallel install capability we used to have, but appreciate that this 
 reduces the number of confusing problems our users could encounter, and thus 
 decreases the number of problem reports we receive, which frees up our time 
 to work on more interesting problems.
 
 There are many tools out there to handle dependencies for compiling
 software and for many other purpose as well. For example, GNU make,
 cmake, ant, maven, etc. I think that there should be (at least
 theoretically) some way of harness some of these tools to handle
 parallel builds of multiple ports even if they share dependency
 chains. Whether it is easy to implement is another issue and I don't
 know the answer.
 
 My inclination is that the feature that I request can be useful. As I
 can port using binaries for only a very small fraction of ports.
 Enabling parallel port can truly use all the cores to speed the
 process. Recently, I just migrate from Snow Leopard to Mountain Loin,
 It took almost 8 hours for me to completely install what had been
 previously installed. There should be something done to improve this
 process.

Since you don't believe, why not enable 'Activity Monitor'.
For me a build holds all 4 cores at the red line for a lot of time. Given this 
the effort to enable multiple builds will clearly not be worth the effort.
Likewise the occasional 8 hour stint (overnight ?) compared to the time to 
implement the 'feature' and debug/troubleshoot (as explained) is time wasted 
that I would much prefer to be spent on real problems.

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


Launcher failure

2012-09-12 Thread James Linder
Hi

I can live with this problem, but if anyone says AH-HA please share:

I built gnome-terminal from fink (2.28.2) and macports (also 2.28.2)
If I run the macport version from cli it starts and the only clutter is:

[haycorn] /Users/jam [501]% /opt/local/bin/gnome-terminal 
Xlib:  extension RANDR missing on display /tmp/launch-Nxgx5b/org.x:0.
[haycorn] /Users/jam [502]%

It runs perfectly

If I (try to) start it from my launcher then the log shows this and it won't 
run:

[dialog]
Applescript error
Xlib:  extension RANDR missing on display /tmp/launch-Nxgx5b/org.x:0.
Dynamic session lookup supported but failed: launchd did not provide a socket 
path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to get the session bus: Not enough memory
Falling back to non-factory mode.
Dynamic session lookup supported but failed: launchd did not provide a socket 
path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to summon the GConf demon; exiting.  Failed to contact configuration 
server; some possible causes are that you need to enable TCP/IP networking for 
ORBit, or you have stale NFS locks due to a system crash. See 
http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get 
connection to session: Not enough memory)

[log]
error Xlib:  extension \RANDR\ missing on display 
\/tmp/launch-Nxgx5b/org.x:0\.
Dynamic session lookup supported but failed: launchd did not provide a socket 
path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to get the session bus: Not enough memory
Falling back to non-factory mode.
Dynamic session lookup supported but failed: launchd did not provide a socket 
path, verify that org.freedesktop.dbus-session.plist is loaded!
Failed to summon the GConf demon; exiting.  Failed to contact configuration 
server; some possible causes are that you need to enable TCP/IP networking for 
ORBit, or you have stale NFS locks due to a system crash. See 
http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get 
connection to session: Not enough memory) number 1

I can't fool the launcher ie launch xterm spawning gnome-terminal.

Can anyone explain please?
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Command-line ogg to mp3 converter

2012-09-03 Thread James Linder

On 04/09/2012, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 Greetings :
 
 I'm looking for a command line ogg to mp3 converter for osx.
 
 I imagine that ffmpeg would be the best bet; it can do just about anything.  
 
 There's an example of converting an ogg file to mp3 with selective
 copy of some of the metadata in the ffmpeg man page.
 
 The command line options are sometimes quite non-obvious.  There
 are GUIs built on top of ffmpeg, such as the one at
 www.ffmpegX.com.  I haven't looked at them in detail, to know
 whether any of them would (like AIX's smit does when providing a
 GUI or menu-driven way of performing administrative tasks) offer
 the option of showing the command-line equivalent for future use.
 And I don't know that any are in MacPorts.
  Hi Richard :
  I have received other recommendation for ffmpeg, so it is good to
  hear your second and supporting opinion.
  I will look into it.
  FYI: I did find a perl utility call ogg2mp3. I believe you can
  get it from http://gitorious.org/ogg2mp3/pages/Home, although I
  was directed to a gentoo site for it.
  It needs the ogg-vorbis port and it is extremely simple to work
  with but doesn't seem like there is any direct control over where
  the mp3 files are written. Although with a superior process
  running it, that can be worked around.
 
  Thanks again for the tip on ffmpgeg.

Of course all the comments about changing one lossy format to another. bad 
results
You should try to convert a non-lossy to a lossy ie wav to mp3, wav to ogg etc

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


Re: OT upgrade

2012-08-08 Thread James Linder

On 09/08/2012, at 3:00 AM, macports-users-requ...@lists.macosforge.org wrote:

 I'm using snow-leopard and everything works perfectly: gnome-terminal, 
 wireshark, gimp, wget, latex ...
 After watching the woes unfold here why would I upgrade, what does lion 
 offer that I don't have? (facebook connectivity etc is rather like a lead 
 balloon)
 
 One thing I find extremely useful in Lion is multiple desktops.  This was 
 available
 formerly as areas, but rather half-baked compared to my previous 
 multi-desktop
 setup on KDE and Linux.
 
 On Lion, multi-desktop is much better.  I can keep programming, course 
 preparation,
 personal finance, email and browsing on separate desktops and quickly swipe 
 the
 trackpad with three fingers to do a switch whenever something comes up (e.g. 
 a phone
 call where I need to look up some piece of information).  Or I can set 
 selected apps in
 the dock to switch desktops automatically when clicked.

Ian thanks for the opinions.
Just for the record snow-leopard does multiple desktops IMHO slightly easier 
than KDE, gnome or lxde and slightly harder than fvwm. In any event they are on 
par with the best.

James

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


OT upgrade

2012-08-07 Thread James Linder

[snip]

 The reason I suggested manually uninstalling the old Xcode is that that is 
 what I had to do on my system. I migrated to a Lion system from a Snow 
 Leopard system, and Xcode 3.2.6 was migrated over too. Then when I installed 
 Xcode 4.3 via the Mac App Store, it did not automatically uninstall the old 
 Snow Leopard Xcode, even after opening Xcode.app. I even unintentionally 
 opened the old Xcode 3.2.6 app after that, and was confused why Xcode 4 
 features had gone missing.
 
 Certainly  curious why the upgrade process behaves differently for different 
 people. Clearly something isn't right. That's why i've resisted the upgrade 
 to Mountain Lion; i've been bitten too often by problems that exist with 
 early versions of new release OS updates on the Mac platform. 

I'm using snow-leopard and everything works perfectly: gnome-terminal, 
wireshark, gimp, wget, latex ...
After watching the woes unfold here why would I upgrade, what does lion offer 
that I don't have? (facebook connectivity etc is rather like a lead balloon)

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


Re: Problem installing rpm using macports

2012-07-02 Thread James Linder

On 02/07/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 If you want to build rpm for xxx distro eg CentOS5 then you need to build on 
 CentOS5.
 [..]
 Save yourself the heart ache and believe that you cannot cross build rpm. 
 ('course you can, but you really have to be on the ball to do that).
 
 Have a look at:
 https://build.opensuse.org/
 http://www.open-build-service.org/

Indeed, and I don't know what they do, but I'd bet my lunch money that they 
have a farm of VMs and do not try to cross build.

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


Re: Qt debug (Michael Dickens)

2012-05-25 Thread James Linder

On 25/05/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 Hi James - Is your qt4-mac-devel installed with the +debug vartiant? 
 Try port installed qt4-mac-devel and that should show you what
 variants are installed.  If it's not installed as +debug, then there
 will be very few _debug libraries, if any -- no supposed to be any,
 but the default Qt install sometimes messed this up.  If it is installed
 with +debug, then there's an issue with the installer since your listing
 of /opt/local/lib/libQt* shows no _debug libraries.  qt4-mac 4.8.2
 will be pushed pretty soon, once we've worked out upgrades of
 dependencies a bit more -- I think it's down to Phonon and
 qtscriptgenerator, but we're still testing.  Turns out moving from Qt
 4.7.4 to 4.8.2 causes some issues here and there; go figure!  This new
 qt4-mac should build correctly on 10.6 and 10.7, as debug, universal,
 framework, whatever.  Hope this helps! - MLD

Thanks for the info.
I did not, but now am now redoing, install a debug build.

I guess that what I was trying to discover is that I have nothing like

 CONFIG += qt debug

but the generated make file links the _debug libraries
WHY WHERE and how can I avoid that.

The qmake tutorial implies debug specified, or not_specified == release

It thus seems that the qt4_mac_devel port builds in debug mode by default and I 
seek to not do that.

James


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


Qt debug

2012-05-23 Thread James Linder
Hi
If anyone can save me ages of hunting I'd appreciate it lots:

I built Qt [port install qt4-mac-devel]

I then built my application which fails with:

...
/usr/bin/g++-4.2 -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 
-mmacosx-version-min=10.6 -o vtext.app/Contents/MacOS/vtext obj/main.o 
obj/myxml.o obj/TextOverlay.o obj/moc_TextOverlay.o -L../serial/lib 
-lqextserialport -L/opt/local/lib -lQtXml_debug -lQtGui_debug -lQtCore_debug 
ld: library not found for -lQtXml_debug
collect2: ld returned 1 exit status
make: *** [vtext.app/Contents/MacOS/vtext] Error 1

If I then by hand run the link command without the _debug suffixs then all 
works perfectly.

Where does the macports install of QT store the debug directive?
nothing in my file.pro mentions debug.

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


Re: Which version of Wine, or am I on the wrong track?

2012-04-16 Thread James Linder

On 16/04/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 I am not sure which version of Wine to install from Macports (there
 are three), or if this is even the right approach for what I want to
 do.
 
 The goal: Edit a movie (screen recording), from the view that 80-90%
 of what I recorded will be tossed.
 iMovie is a failure (as far as I can tell) as selecting sections and
 removing them.
 This means I'm going to use VirtualDub (only program I've found so far
 that is good at selecting lots of specific frame ranges and tossing
 them).
 And this means I'm going to need either XviD or DivX for Windows (or
 am I wrong?)
 Note that the standard apple mp4 encoder does not produce good enough quality.
 
 A quick look shows three different, incompatible versions of wine,
 with different sets of patches and features.
 Additionally, Crossover has their commercial version with their keep
 everything separate/bottles feature.
 
 So what's the proper version of Wine, to get VirtualDub and Divx or
 Xvid, and has anyone already done this and knows what warnings to
 watch out for?

YMMV but I was unable to do any editing under wine.
I did three things ...
Install vbox from oracle. BUY a copy of XP and use that. Worked well.
Get a native dmg of avidemux which has a nice transcode stack and works well.
install ffmpeg from macports (I think it includes mjpegtools, but in any event 
mjpegtools) which worked very very well. Needless to say I am a CLI geek and 
ffmpeg has a CLI from hell.
See http://www.gentoo-wiki.info/MEncoder/Tips_and_Tricks which was also useful 
to me.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: /usr/local question

2012-04-05 Thread James Linder

On 05/04/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 oh... I didn't know that. I just took a look in my /usr/local, and found a 
 whole bunch of stuff for texlive, and then various programs that I remember 
 installing.
 
 is there a recommended place for me to put these programs?
 
 
 On Apr 4, 2012, at 2:12 AM, Chris Jones wrote:
 
 Hi,
 
 I don't install things there, but there are things in there (mostly from 
 Mac OS) that I'd like to keep and use.
 
 I might be wrong but I understand OS X itself does not put anything in 
 /usr/local. Anything you might have there has probably come from other third 
 party applications you have installed, not the system itsdelf.

This is not smoke-and-mirrors.
I cannot see anything that would affect, and none of my macports are affected 
by the tex stuff in /usr/local
If you are not a 'developer' and the concept of 'include files' libararies' 
'executables' is alien sure adopt the 'never use /usr/local' paradigsm else 
just be sensible

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


Re: installation on nfs disk

2012-03-31 Thread James Linder

On 31/03/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 ./configure --prefix=/ibpc/osx/lbt/macport/2.0.4/SL --enable-readline
 --with-install-user=`id -un` --with-install-group=`id -gn`
 --with-tcl-package=/ibpc/osx/lbt/macport/2.0.4/SL/share/macports/Tcl
 
 And here is the error message I get.
 
 Warning: No index(es) found! Have you synced your source indexes?
 port registry doesn't exist at
 /ibpc/osx/lbt/macport/2.0.4/SL/var/macports/registry/registry.db and
 couldn't write to this location
 
 I'm supprised because I specify that I should have all the permissions in
 the configure (--with-install-user and --with-install-group).
 
 
 MacPorts requires root permissions by default.  The root user is normally
 converted to nobody over NFS, because root is a locally privileged
 account, not a network-wide superuser account.  You could change NFS export
 options to suppress that (not recommended) or you could configure MacPorts
 to not use root privileges.

Actually if you are NOT on a trusted lan then you ought not be building on it
If you are on a trusted lan then IMHO no_root_squash is a much easier option 
than trying to run macports as a non root user.
ReadTheMan on NFS options

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


Re: html 5 and css 3 editor

2012-03-25 Thread James Linder

On 25/03/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 Do you know a good html 5 and css 3 ?ditor on macport ?
 
 It seems that on kde ther'is kwebdev and on gnome, ther'is WDT -
 Web Developer Tools but I could not found thees portfiles ?
 
 Can you help me please ?
 
 While I use Vim for virtually everything (even Tweeting), on OS X IMO,
 the best html editor by far is BBEdit. Unfortunately it's proprietary
 software  therefore not on Mac Ports.
 
 If you've used Vim it also has a very good html/css/sass set up
 obviously but if you haven't tried it the learning curve can be steep.
 
 However, I recommend learning Vim if you don't know it. It pays
 enormous dividends in the long run  once you come to grips with it,
 you'll wonder how you ever got along without it.

I've been using vi and vim for 30+ years (ouch)
Two or three times a year I read the man pages and learn 1 thing (still to this 
day!)
But ...
In the days when I used to teach vi I made an A4 cheat sheet that let my class 
use it immediately.
If you get over the hump, you will never use any other editor. You want to do 
something you've never done before ... you probably KNOW how to already ... it 
is structured and organized so.

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


Re: Should I Uninstall MacPorts to Reinstall?

2012-03-22 Thread James Linder

On 22/03/2012, at 10:01 PM, macports-users-requ...@lists.macosforge.org wrote:

 I'm a new user, and I think this is how I ask a question.  I am downloading
 the digiKam photo application, and to do that, I was required to download
 Xcode and Macports.  I downloaded Xcode 3.0 and then I downloaded Macports.
 In the terminal, it said:
 
 Warning: The installed version of Xcode (3.0) is known to cause problems.
 Version 3.1.4 or later is recommended on Mac OS X 10.5.
 
 
 So now I have downloaded 3.1.4 Xcode.  Do I need to reinstall Macports
 because of the new Xcode version?  I am worried that during the Macports
 installation, it said that certain things being downloaded were not found
 (written in the Terminal window), and I wonder if that's because I had an
 older version of Xcode that it says causes problems.  But I'm worried that
 if I uninstall Macports, I might mess something up, especially since
 MacPorts website says uninstalling can be a drastic action.  Honestly, I
 don't really know what Macports is at the moment (should look into that).
 I just downloaded because of digiKam.  I didn't have it before, so how can
 uninstalling be drastic?  Does it have to do with the software I download
 using MacPorts?  I'd assume since I haven't made the final step of
 downloading digiKam, it would be okay to uninstlal since I haven't used
 MacPorts.  I've opened/installed it but have not used it to download
 software.
 
 And does Xcode come with your Apple computer?  MacPorts does not?

And digiKam does not build either on macports or on fink.

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


Re: MythTV port?

2012-03-22 Thread James Linder

On 22/03/2012, at 10:01 PM, macports-users-requ...@lists.macosforge.org wrote:

 I've been running MythTV on Mac OS X for a number of years. 
 http://www.mythtv.org/  The core functionality is wonderful but the 
 build and install process on Mac is pretty darn painful!
 
 A capsule summary for those of you not familiar.  MythTV is a digital 
 video recording system with other components for DVD/BR videos, 
 internet video, music, slide shows, etc.  There is a master backend 
 that handles scheduling recordings and serving media to one or more 
 frontends.  The master backend stores all its information in a MySQL 
 database.  There can also be slave backends that provide additional 
 TV tuners and storage.  The simplest configuration is a single 
 machine running the master backend, MySQL database and frontend. 
 MythTV is Linux-first with ports to Mac OS, Windows and BSD.  Lots of 
 people run the backend on Linux with a mix of frontends.
 
 About 6 years ago, the backend was ported to Mac OS X when a couple 
 of tuning methods became available on OS X (firewire and Silicon 
 Dust's HDHomerun boxes).  Only the frontend had been available before 
 that.  A MythTV-developed Perl script continued to be used to build a 
 .app bundle--it was expanded to bundle the backend as well as the 
 frontend.  The problem is that the backend is not a double-clickable 
 Mac app.  The backend is a server process more akin to MySQL. MythTV 
 is just about to release version 0.25 with a ton of interesting new 
 features.
 
 Which leads me to MacPorts.  It occurs to me that using MacPorts to 
 build and install the backend might make the process a lot easier and 
 automate some of the tougher parts (installing a startupitem for the 
 backend).  The hard part is that Myth is a pretty extensive 
 application with a number of dependencies--Nokia's QT plus several 
 libraries, MySQL, and some Perl modules just for the core system. 
 I'm done some searching and I think MacPorts has existing ports for 
 all the dependencies except two Perl modules.
 
 So, am I crazy?  I'm not a developer but I've been building my own 
 MythTV system with the Perl script for some years.  I'd like to 
 contribute to a better all-Mac MythTV experience but I would 
 certainly need a bunch of help and support to get a functioning 
 MacPorts port file.  Anybody else interested?

Greg I think that would be most marvellous but, and I've never *built* a port 
(as opposed to building a program with macports), mythtv is always changing so 
the port would need lots of ongoing maintainance.
The existing mac implementations seem to fix at a level eg 0.24, 0.24-1 and not 
tracking 0.24-fixes. ie http://avenard.org/files/mac/

Are you going to be the 'maintainer'? I'd definitely be a user

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


Re: update

2012-03-04 Thread James Linder

On 03/03/2012, at 10:41 PM, Daniel Ericsson wrote:

 On 3 mar 2012, at 14:07, James Linder wrote:
 
 Error: Target org.macports.activate returned: Image error: 
 /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and 
 does not belong to a registered port.  Unable to activate port dbus. Use 
 'port -f activate dbus' to force the activation.
 
 As the log says it's not actually gnome-terminal that fails but the 
 activation of one of it's dependencies, 'dbus'. It seems you have a lingering 
 'org.freedesktop.dbus-session.plist' file from a previous install. I would do 
 as the log suggests and force the activation with 'port -f activate dbus'.
 
 If you moved your /opt/local this is not surprising. If you get any more 
 errors, try to see if they are of the same variety, ie. a file already 
 present but outside of /opt/local and it should be safe to force the 
 activation.

Hi Daniel
I don't understand this, you certainly do, gnome-terminal built sweetly, so 
thanks lots
James

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


Re: Macports and Qt development

2012-03-04 Thread James Linder

On 04/03/2012, at 11:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 Hi! I would like to know if other Mac/Qt (optionally also Python) developers 
 are having as many problems as I do.
 
 MacPorts installs Qt as a normal library, although there is a variant (non 
 default) that will compile it as a OSX framework. That is fine for non 
 developers, but I noticed that not having a framework is a nightmare if I 
 want to debug my Qt apps. Some times I am forced to compile without debug 
 info, other times my screen get full of warnings about missing symbols. In 
 those cases I can debug my code if I filter out all the warnings I get with 
 every debugger step.
 
 For some reason, lately I can no longer debug without thousand of warnings a 
 hello world in qt. Something which could be fixed before with 
 DYLD_IMAGE_SUFFIX=_debug
 
 Also I use a lot pyside and ipython, which do not compile if Qt was installed 
 as a framework. Therefore it is hard to debug apps with them
 
 My solution so far is installing the official Qt binaries which are compiled 
 as a framework. Since that is the official default, I suppose that is the 
 reason I no longer have problems working with other Qt related tools such as 
 Pyside and iPython gui. 
 
 So the big question for MacPort users is: Do Qt developers manage their 
 packages with MacPorts or just run away from it when there is something that 
 involves Qt?

Your mail implies you'd install Qt via macports. Why would one do that instead 
of installing the Qt SDK ?
All the command line tools are available in the SDK (in fact I do not even know 
if qtbuilder works, I'm sure it does though.)

If you were installing a package that needed Qt would not macports install Qt 
as needed and transparently?

Again, pardon my ignorance, debug with a framework ??? ummm qDebug() and gdb ???

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


Re: update

2012-03-03 Thread James Linder

On 03/03/2012, at 7:57 PM, Lawrence Velázquez wrote:

 On Mar 3, 2012, at 1:58 a.m., James Linder wrote:
 
 EVERYTHING now works except gnome-terminal will not build.
 
 Can you provide the gnome-terminal log?

sh-3.2# port install gnome-terminal
---  Computing dependencies for gnome-terminal
---  Dependencies to be installed: gconf dbus-glib dbus orbit2 libidl 
policykit eggdbus libgnome audiofile esound gnome-vfs desktop-file-utils 
gnome-mime-data libbonobo vte py27-gtk libglade2 py27-cairo py27-numpy 
py27-nose nosetests_select py27-distribute py27-py py27-gobject
---  Activating dbus @1.4.16_0
Error: Target org.macports.activate returned: Image error: 
/Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and 
does not belong to a registered port.  Unable to activate port dbus. Use 'port 
-f activate dbus' to force the activation.
Error: Failed to install dbus
Log for dbus is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log
Error: The following dependencies were not installed: gconf dbus-glib dbus 
orbit2 libidl policykit eggdbus libgnome audiofile esound gnome-vfs 
desktop-file-utils gnome-mime-data libbonobo vte py27-gtk libglade2 py27-cairo 
py27-numpy py27-nose nosetests_select py27-distribute py27-py py27-gobject
Error: Status 1 encountered during processing.
To report a bug, see http://guide.macports.org/#project.tickets

I recently re-installed OS. (because of a long saga with macports)
port selfupdate ran fine
port update outdated stopped on ghostscript (wise words from Brandon) then 
stopped at ImageMagic
I then moved /opt/local away and reinstalled macports

ghostscript, ImageMagick, transcode, ffmpeg, coreutils, findutils all built 
perfectly
gnome-terminal does not

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


update

2012-03-02 Thread James Linder
Hi

1) I did a selfupdate with no errors
repeated

haycorn:~ # port selfupdate
---  Updating MacPorts base sources using rsync
MacPorts base version 2.0.4 installed,
MacPorts base version 2.0.4 downloaded.
---  Updating the ports tree
---  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

2) I updated outdated which failed.
repeated

haycorn:~ # port upgrade outdated
---  Computing dependencies for ghostscript
---  Configuring ghostscript
Error: Target org.macports.configure returned: autoreconf failure: shell 
command failed (see log for details)
Log for ghostscript is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
Error: Unable to upgrade port: 1

The log says little:
...
:debug:configure Executing command line:  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05
  autoreconf --install -fv 
:info:configure Can't locate File/Path.pm in @INC (@INC contains: 
/opt/local/share/autoconf 
/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level 
/opt/local/lib/perl5/site_perl/5.12.3 
/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level 
/opt/local/lib/perl5/vendor_perl/5.12.3 
/opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 
/opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at 
/opt/local/share/autoconf/Autom4te/General.pm line 40.
:info:configure BEGIN failed--compilation aborted at 
/opt/local/share/autoconf/Autom4te/General.pm line 40.
:info:configure Compilation failed in require at /opt/local/bin/autoreconf line 
44.
:info:configure BEGIN failed--compilation aborted at /opt/local/bin/autoreconf 
line 44.
:info:configure shell command  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05
  autoreconf --install -fv  returned error 2
:error:configure Target org.macports.configure returned: autoreconf failure: 
shell command failed (see log for details)
:debug:configure Backtrace: autoreconf failure: shell command failed (see log 
for details)
while executing
$procedure $targetname
:info:configure Warning: the following items did not execute (for ghostscript): 
org.macports.install org.macports.configure org.macports.build 
org.macports.destroot
:notice:configure Log for ghostscript is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log

Can anybody point out the error of my ways
Thanks
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: update

2012-03-02 Thread James Linder

On 03/03/2012, at 12:30 PM, Brandon Allbery wrote:

 On Fri, Mar 2, 2012 at 23:16, James Linder j...@tigger.ws wrote:
 :info:configure Can't locate File/Path.pm in @INC (@INC contains: 
 /opt/local/share/autoconf 
 /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level 
 /opt/local/lib/perl5/site_perl/5.12.3 
 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level 
 /opt/local/lib/perl5/vendor_perl/5.12.3 
 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 
 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at 
 /opt/local/share/autoconf/Autom4te/General.pm line 40.
 
 Perl is deranged; I've seen this happen after upgrading past the change to 
 the perl5 port to install the actual Perl as a sub-port, since it's likely to 
 switch you to perl 5.12 while your installed Perl modules are still for 
 whatever version you had been using.  Force upgrading all the installed p5-* 
 ports should fix it (but may do more than is actually needed, especially 
 since --force tends to forcibly reinstall all the dependencies whether they 
 need it or not).
 
 $ sudo port upgrade --force p5-\*
 
 But wait for someone who knows more to answer before committing to that; 
 there is probably something less drastic that has been worked out.

Hi
thanks for this.
Your command did not work for me, trying to update something not installed.
I listed 'installed' and ran your command on those (python) that were installed 
whereupon ghostscript DID build and all proceeded until ImageMagick failed to 
build.
I then renamed /opt/local and reinstalled macports.
EVERYTHING now works except gnome-terminal will not build.

Surely a macports selfupdate is not supposed to wreak such utter havoc ?

Short of getting gnome-terminal from fink is there any solution? (I know thats 
a 'what colour is best' question but it is a clean macports install; port 
install gnome-terminal)

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


Re: Help please

2012-02-22 Thread James Linder

On 23/02/2012, at 1:07 AM, Ryan Schmidt wrote:

 
 On Feb 21, 2012, at 22:44, James Linder wrote:
 
 checking for Apple Objective-C runtime... yes
 checking for GNU Objective C runtime... no
 configure: Using Apple Objective-C runtime
 checking for Apple Foundation library... no
 configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your 
 environment, preventing the use of GNUstep's Foundation library
 configure: error: Could not find a working Foundation implementation
 
 This is an error we've encountered a few times before, such as:
 
 https://trac.macports.org/ticket/28452
 
 https://trac.macports.org/ticket/30298
 
 We didn't receive further feedback from the reporters so were unable to 
 pursue the matter further. Can you attach your config.log? Maybe it will 
 shed further light.
 
 In #28452 we presumed software installed in /usr/local was interfering. Do 
 you have anything installed in /usr/local? If so, remove it and try again.
 
 In #30298 we presumed the user's operating system components had become 
 damaged and the OS should be reinstalled. So that's another avenue you 
 could pursue.
 
 haycorn:~ # ls /usr/local
 .gitLibrary etc share
 .gitignore  README.md   include texlive
 Cellar  bin lib
 
 This was put here by latex install ...
 
 haycorn:~ # mv /usr/local/ /usr/oldlocal
 haycorn:~ # port -d selfupdate
 [snip]
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new 
 MacPorts base: shell command failed (see log for details)
 
 OK it'll take me a day or so to backup everything I want, so reinstall 
 (which will certainly work, it did work before) and I'll report back
 
 Snow Leopard and install CD: Insert CD 'Instal Mac OS X': whirr whirr (1 
 hour) {but this way is very easy)
 
 then
 
 ...
 DEBUG: Error installing new MacPorts base: shell command failed (see log for 
 details)
 while executing
 macports::selfupdate [array get global_options] base_updated
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new 
 MacPorts base: shell command failed (see log for details)
 
 That portion of the error doesn't tell us anything other than something went 
 wrong. If you check back further in the log, was it the same Could not find 
 a working Foundation implementation error?

Aaaargh hangs head in shame! I had not reinstalled Xcode.

So
Reinstall OS
install Xcode

Everything running sweetly again.
Thanks for all the help.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Help please

2012-02-19 Thread James Linder

On 20/02/2012, at 4:41 AM, Ryan Schmidt wrote:

 On Feb 19, 2012, at 06:21, James Linder wrote:
 
 On 19/02/2012, at 4:34 PM, Ryan Schmidt wrote:
 
 On Feb 18, 2012, at 23:06, James Linder wrote:
 
 On 19/02/2012, at 10:22 AM, Ryan Schmidt wrote:
 
 On Feb 18, 2012, at 19:49, James Linder wrote:
 
 sh-3.2# port install libgnome
 Error: Unable to open port: couldn't read file 
 /opt/local/share/macports/Tcl/port1.0/portmirror.tcl: no such file or 
 directory
 
 Please clean (sudo port clean libgnome) and try again, using the debug 
 flag (sudo port -d install libgnome) so we can get more information.
 
 The error couldn't read file 
 /opt/local/share/macports/Tcl/port1.0/portmirror.tcl: no such file or 
 directory is spurious and can be ignored. There should be a different, 
 real error elsewhere in the debug output that we can act upon.
 
 
 Sorry!
 
 sh-3.2# port -d install libgnome
 DEBUG: Changing to port directory: 
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/libgnome
 DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 DEBUG: couldn't read file 
 /opt/local/share/macports/Tcl/port1.0/portmirror.tcl: no such file or 
 directory
 
 Ok, I take it back; the error message is real. And 
 /opt/local/share/macports/Tcl/port1.0/portmirror.tcl should exist. If it 
 does not, reinstall MacPorts. This will not affect the ports you've 
 installed.
 
 OK totally lost, so please suggest this or that.
 I knowingly and willfully did nothing other than allow firefox to upgrade, 
 but clearly there is trouble here:
 
 Yes, at least one of the files which comprises MacPorts base appears to be 
 missing. I can't explain why that would be, but it doesn't matter much 
 either; just replace them by reinstalling MacPorts.
 
 I can format and reinstall *everything* if need be 
 
 I don't see any evidence yet that would suggest that would be necessary.
 
 
 I re-installed macports from the dmg and got errors.
 
 This should have worked, so please elaborate on the problems you experienced.
 
 I moved /opt/local to /opt/oldlocal and reinstalled.
 
 Using the dmg again? And now it succeeded?
---
As below - fail
---

 Errors again:
 
 haycorn:~ # port selfupdate
 ---  Updating the ports tree
 ---  Updating MacPorts base sources using rsync
 MacPorts base version 2.0.0 installed,
 MacPorts base version 2.0.3 downloaded.
 ---  MacPorts base is outdated, installing new version 2.0.3
 Installing new MacPorts release in /opt/local as root:admin; permissions 
 0755; Tcl-Package in /Library/Tcl
 
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new 
 MacPorts base: shell command failed (see log for details)
 
 I looked for 'error' in 
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/config.log
 
 and got this mess:
 haycorn:~ # grep error 
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base/config.log
  
 Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.9~9/src/configure 
 --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 
 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ 
 --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
 --with-slibdir=/usr/lib --build=i686-apple-darwin10 
 --enable-llvm=/var/tmp/llvmgcc42/llvmgcc42-2335.9~9/dst-llvmCore/Developer/usr/local
  --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 
 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
 Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure 
 --disable-checking --enable-werror --prefix=/usr --mandir=/share/man 
 --enable-languages=c,objc,c++,obj-c++ 
 --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
 --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- 
 --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 
 --with-gxx-include-dir=/include/c++/4.2.1
 conftest.m:12:28: error: ac_nonexistent.h: No such file or directory
 conftest.m:12:28: error: ac_nonexistent.h: No such file or directory
 /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:33:31:
  error: CarbonCore/Finder.h: No such file or directory
 
 I'm a bit unclear why MacPorts base would have any need for any part of 
 Carbon. Can you sudo port -d selfupdate and show us the output?

I included the whole log, I don't know which bits are ignorable ...
To repeat: This is a clean install of macports on a machine that has worked in 
the past
Ryan thanks for your help

I yesterday posted all the 'error' lines from the log. I guess they are still 
the same.

haycorn:~ # port -d selfupdate
---  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from 
rsync://rsync.macports.org/release/tarballs/ports.tar
DEBUG: /usr/bin/rsync

Re: How to install a port update ?

2012-01-31 Thread James Linder

On 31/01/2012, at 11:01 PM, macports-users-requ...@lists.macosforge.org wrote:

 Lastfm port for amarok has updated.
 
 I have downloaded a file from this url :
 
 https://trac.macports.org/changeset/89263
 
 I don't know how to install it
 
 The only thing you need to do is:
 
  sudo port selfupdate
 
 Since it didn't get a revision update (not sure why not?), if you have 
 liblastfm  installed, then you can reinstall it. 
 
 
 The committer simply forgot to increment the port's revision in r89263, and 
 did so afterward in r89264.

I tried to build amarok with dismal results, but 
http://code.google.com/p/clementine-player/ is an amorok 1.4 fork that works a 
treat.  It has a dmg package.
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to install a port update ?

2012-01-31 Thread James Linder

On 01/02/2012, at 6:41 AM, Ryan Schmidt wrote:

 On Jan 31, 2012, at 15:51, James Linder wrote:
 
 I tried to build amarok with dismal results
 
 What problem did you encounter?

Since it was in the early days of using macports (a year ago) I cannot give you 
a useful answer, just to say the error messages looked so overwhelming that I 
spent time getting iTunes to play my oggs. I did not try recently, but 
clementine is kewl and suits my needs and works. Now if you can solve my 
didikam woes ... (not serious, this looks like a significant issue)
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: OpenSUSE on MacPorts' virtualbox with funny mouse behaviour

2012-01-30 Thread James Linder

On 30/01/2012, at 11:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 Anyone out there who successfully works with virtualbox installed through 
 MacPorts?
 
 Since I am not so happy with my rather old Parallels 5 anymore I wanted to 
 test virtualbox on my Snow Leopard.
 I got OpenSUSE-Linux 12.1 installed, no problem.
 
 But when I want to work with the virtual machine i noticed that the mouse 
 events aren't handled correctly.
 Somehow there is a lag of the mouse position and the click. So, if you click 
 with the right finger onto the desktop you'll see the menu appear at the 
 position of your previous right mouse-click. Already during installation in 
 YaST I saw that there is some oddity, since I had to click every dialog 
 button twice to really get it to react. But now I see that there is some 
 fundamental problem with it.
 
 Just wondering whether I am alone with this trouble or whether there are 
 other VB users on this list who could tell me about their experience.

FWIW I use the propriority version of VBOX which has never caused me any 
problems at all including with SuSE 12.1

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


RE: How to run wordpress

2012-01-22 Thread James Linder

On 22/01/2012, at 11:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 To test wordpress on my local machine, I have tried to install the
 wordpress package on oz computer but I can't start it
 
 Can you help me please
 
 Configuring Wordpress needs the setup of a corresponding mysql database. This 
 is afaik not part of macports and depends from your needs as most LAMP 
 applications do need their own configurations - independent from any 
 installation system / framework like macports.
 
 Take a look at the wordpress install docs and - if required - into mysql docs 
 about how to create a database incl. database user with proper access rights 
 to it.

Heretical on this list, but why would you not just run a linux LAMP server
iMACs run too hot with freq-adjust, they surely need freq-idle, but I've not 
fiddled
I've not tried mac-mini 
MacServers will surely work fine.
Try booting a live CD. You choose which - I like SuSE but ubuntu works well and 
is easy too.
That way you can play without touching your HD in any way
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users