Re: Trouble installing PostgreSQL

2012-12-09 Thread Ryan Schmidt

On Dec 9, 2012, at 22:20, Alejandro Imass  wrote:

> On Sun, Dec 9, 2012 at 10:29 PM, Behrang Saeedzadeh  
> wrote:
>> This is happening on Mountain Lion. After installing postgresql92-server, I
>> followed the instructions and I am getting this error:
>> 
> 
> remove it and use these 2 commands _before_ trying install again
> 
> sudo sysctl -w kern.sysv.shmmax=1073741824
> sudo sysctl -w kern.sysv.shmall=1073741824

What does that do?

I was recently able to get postgresql92-server up and running on Mountain Lion 
without having to do that.



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


Re: Cairo Failed to Build

2012-12-09 Thread Jasper Frumau
Thanks Sean. Looking forward to the patch!


On Mon, Dec 10, 2012 at 12:58 PM, Sean Farley  wrote:

> On Sun, Dec 9, 2012 at 11:55 PM, Jasper Frumau 
> wrote:
> > cairo failed to build. Here is the tail of the main log:
> >
> > tail -n 20
> >
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
> > :info:build ^
> > :info:build SyntaxError: invalid syntax
> > :info:build Command failed:  cd
> >
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/work/py2cairo-1.10.0"
> > && /opt/local/bin/python2.5 setup.py --no-user-cfg build
> > :info:build Exit code: 1
> > :error:build org.macports.build for port py25-cairo returned: command
> > execution failed
> > :debug:build Error code: CHILDSTATUS 50928 1
> > :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 py25-cairo:
> > org.macports.install org.macports.build org.macports.destroot
> > :notice:build Please see the log file for port py25-cairo for details:
> >
> >
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
> >
> > Any idea why the command failed?
>
> This is due to py25-cairo needing to have an older version of
> py2cairo, as reported here:
>
> https://trac.macports.org/ticket/37254
>
> I'll send a patch for this hopefully tomorrow morning.
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Cairo Failed to Build

2012-12-09 Thread Sean Farley
On Sun, Dec 9, 2012 at 11:55 PM, Jasper Frumau  wrote:
> cairo failed to build. Here is the tail of the main log:
>
> tail -n 20
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
> :info:build ^
> :info:build SyntaxError: invalid syntax
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/work/py2cairo-1.10.0"
> && /opt/local/bin/python2.5 setup.py --no-user-cfg build
> :info:build Exit code: 1
> :error:build org.macports.build for port py25-cairo returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 50928 1
> :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 py25-cairo:
> org.macports.install org.macports.build org.macports.destroot
> :notice:build Please see the log file for port py25-cairo for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
>
> Any idea why the command failed?

This is due to py25-cairo needing to have an older version of
py2cairo, as reported here:

https://trac.macports.org/ticket/37254

I'll send a patch for this hopefully tomorrow morning.
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Cairo Failed to Build

2012-12-09 Thread Jasper Frumau
cairo failed to build. Here is the tail of the main log:

tail -n 20
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log
:info:build ^
:info:build SyntaxError: invalid syntax
:info:build Command failed:  cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/work/py2cairo-1.10.0"
&& /opt/local/bin/python2.5 setup.py --no-user-cfg build
:info:build Exit code: 1
:error:build org.macports.build for port py25-cairo returned: command
execution failed
:debug:build Error code: CHILDSTATUS 50928 1
: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 py25-cairo:
org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port py25-cairo for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-cairo/py25-cairo/main.log

Any idea why the command failed?
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: mongodb-2.2.2_0 binaries for ML 10.8 missing from MacPorts

2012-12-09 Thread Lawrence Velázquez
On Dec 9, 2012, at 11:08 PM, Behrang Saeedzadeh  wrote:

> Is this intentional or are the binaries eventually going to be added to 
> MacPorts?

We cannot distribute a binary for mongodb because it has a dependency on 
openssl, and their licenses conflict.

% cd ~/Projects/MacPorts/trunk/base/portmgr/jobs
% ./port_binary_distributable.tcl -v mongodb
dependency 'openssl' has license 'OpenSSL' which conflicts with license 
'agpl' from 'mongodb'

Admittedly, it's only a build dependency (mongodb -> scons -> python27 -> 
openssl). Don't know if that makes a difference.

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


Re: Trouble installing PostgreSQL

2012-12-09 Thread Alejandro Imass
On Sun, Dec 9, 2012 at 10:29 PM, Behrang Saeedzadeh  wrote:
> This is happening on Mountain Lion. After installing postgresql92-server, I
> followed the instructions and I am getting this error:
>

remove it and use these 2 commands _before_ trying install again

sudo sysctl -w kern.sysv.shmmax=1073741824
sudo sysctl -w kern.sysv.shmall=1073741824



If it fixes your problem you can make the above changes permanent by
adding these lines to the file /Library/LauchDaemons/sysctl.plist
Create the file with the following content if it does not exist:

  
  http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
  
  
   Label
   sysctl
   ProgramArguments
   
   /usr/sbin/sysctl
   -w
   kern.sysv.shmmax=1073741824
   kern.sysv.shmall=1073741824
   
   RunAtLoad
   
  
  
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


mongodb-2.2.2_0 binaries for ML 10.8 missing from MacPorts

2012-12-09 Thread Behrang Saeedzadeh
Is this intentional or are the binaries eventually going to be added to
MacPorts?

Cheers,
Behrang Saeedzadeh
http://www.behrang.org
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Trouble installing PostgreSQL

2012-12-09 Thread Behrang Saeedzadeh
This is happening on Mountain Lion. After installing postgresql92-server, I
followed the instructions and I am getting this error:

To create a database instance, after install do
 sudo mkdir -p /opt/local/var/db/postgresql92/defaultdb
 sudo chown postgres:postgres /opt/local/var/db/postgresql92/defaultdb
 sudo su postgres -c '/opt/local/lib/postgresql92/bin/initdb -D
/opt/local/var/db/postgresql92/defaultdb'

To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an
increased kern.sysv.shmmax .. to /etc/sysctl.conf

--->  Cleaning postgresql92-server
--->  Removing work directory for postgresql92-server
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
Nexus:Downloads behrangsa$ sudo mkdir -p
/opt/local/var/db/postgresql92/defaultdb
Password:
Nexus:Downloads behrangsa$ sudo chown postgres:postgres
/opt/local/var/db/postgresql92/defaultdb
Nexus:Downloads behrangsa$  sudo su postgres -c
'/opt/local/lib/postgresql92/bin/initdb -D
/opt/local/var/db/postgresql92/defaultdb'
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
could not identify current directory: Permission denied
could not identify current directory: Permission denied
could not identify current directory: Permission denied
The program "postgres" is needed by initdb but was not found in the
same directory as "initdb".
Check your installation.

Any ideas what could be wrong?

Cheers,
Behrang Saeedzadeh
http://www.behrang.org
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: help with MOC

2012-12-09 Thread Ryan Schmidt

On Dec 9, 2012, at 14:29, cody eachann wrote:

> I am attempting to install MOC via Macports. 
> 
> MOC: https://trac.macports.org/browser/trunk/dports/multimedia/moc/Portfile
> 
> I created a thread on the MOC forum: http://moc.daper.net/node/859
> 
> Seems the problem is an outdated version of ffmpeg and/or moc. I have not 
> been able to get in touch with the maintainer. Help would be greatly 
> appreciated.

As mentioned on that thread you linked to above, the problem is that ffmpeg has 
been updated recently, while moc has not been updated in a long time and is 
thus incompatible with this new ffmpeg. That thread recommends we update moc to 
version 2.5.0-beta1, and although we don't usually use pre-release versions, 
the last stable version was 3 years ago, so perhaps we should make an exception 
here.

See also this ticket about the problem:

https://trac.macports.org/ticket/37159

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


help with MOC

2012-12-09 Thread cody eachann
I am attempting to install MOC via Macports.

MOC: https://trac.macports.org/browser/trunk/dports/multimedia/moc/Portfile

I created a thread on the MOC forum: http://moc.daper.net/node/859

Seems the problem is an outdated version of ffmpeg and/or moc. I have not
been able to get in touch with the maintainer. Help would be greatly
appreciated.
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Created binaries with mdmg where do they go?

2012-12-09 Thread anot bot
Thank you :-)

On 9 Dec 2012, at 00:14, Jeremy Lavergne  wrote:

> In `port work freetype`
> 
> 
> anot bot  wrote:
> 
>> I have created binaries for freetype and dcmtk using :
>> 
>> sudo port mdmg 
>> 
>> it seems to be created, but I can't find the resulting files..?
>> 
>> Sorry for the stupid question, but can't find them anywhere and would
>> be grateful for a pointer on where to look :-)
>> 
>> many thanks
>> 
>> anot
>> 
>> 
>> ___
>> macports-users mailing list
>> macports-users@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-users
> 

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


Re: dyld: Library not loaded: libmaloc.dylib

2012-12-09 Thread Ryan Schmidt

On Dec 9, 2012, at 08:28, Joshua Root wrote:
> On 2012-12-9 14:42 , Ryan Schmidt wrote:
>> I thought it was a typo at first too, but there actually is something called 
>> libmaloc with one l:
>> 
>> http://fetk.org/codes/maloc/
>> 
>> I don't think we have it in MacPorts though, or if we do, it's being bundled 
>> with another port.
> 
> APBS uses FEtk, according to its homepage.

Ok. I was looking at the apbs portfile, which makes no mention of fetk.



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


Re: dyld: Library not loaded: libmaloc.dylib

2012-12-09 Thread Joshua Root
On 2012-12-9 14:42 , Ryan Schmidt wrote:
> On Dec 8, 2012, at 17:26, Jeremy Huddleston Sequoia wrote:
> 
>> On Dec 7, 2012, at 1:50 PM, "Yao, Xiaolan" wrote:
>>
>>> I installed Pymol and the APBS plugin using MacPorts.  I  tried to
>>> run APBS calculations within Pymol, but it didn't give the proper
>>> output and I think the following message might be the reason:
>>>
>>> dyld: Library not loaded: libmaloc.dylib
>>>
>>> What should I do to solve this problem?
>>>
>>> Also, I have noticed when I try to use the APBS plugin to display
>>> surface electrostatic potential calculated from PDB2PQR server, it is not 
>>> displayed properly. I don't
>>> know if there two problems are related.
>>
>> malloc is provided by libSystem.  What is actually linking against 
>> libmalloc.dylib?  Can you provide the entire crash report?
> 
> I thought it was a typo at first too, but there actually is something called 
> libmaloc with one l:
> 
> http://fetk.org/codes/maloc/
> 
> I don't think we have it in MacPorts though, or if we do, it's being bundled 
> with another port.

APBS uses FEtk, according to its homepage.

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