Re: web server admin / control panel

2012-05-21 Thread Bjarne D Mathiesen
Jasper Frumau wrote:
 What tool does MacPorts offer to administer my MacPorts LAMP? I would
 love to have a Cpanel like tool to manage vhosts, user rights and or
 create databases. PHPMyAdmin does help with the database stuff, but for
 the other things I have to rely on the command line and or a text editor.

MacPorts doesn't have any off-the-shelf as far as I can see

You'll have to install your own from amongst the alternatives:
http://masmuh.student.umm.ac.id/10-free-cpanel-alternatives.aspx
http://lordmatt.co.uk/item/1739/

:-)
-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
--
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: web server admin / control panel

2012-05-21 Thread Jasper Frumau
Thanks. Will look into them

On Mon, May 21, 2012 at 4:04 PM, Bjarne D Mathiesen 
macint...@mathiesen.info wrote:

 Jasper Frumau wrote:
  What tool does MacPorts offer to administer my MacPorts LAMP? I would
  love to have a Cpanel like tool to manage vhosts, user rights and or
  create databases. PHPMyAdmin does help with the database stuff, but for
  the other things I have to rely on the command line and or a text editor.

 MacPorts doesn't have any off-the-shelf as far as I can see

 You'll have to install your own from amongst the alternatives:
 http://masmuh.student.umm.ac.id/10-free-cpanel-alternatives.aspx
 http://lordmatt.co.uk/item/1739/

 :-)
 --
 Bjarne D Mathiesen
 København N ; Danmark ; Europa
 --
 denne besked er skrevet i et totalt M$-frit miljø
 MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

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


Please tell me how to fix a installation problem, thanks!

2012-05-21 Thread Apple Developer
Hi,

 I am a beginner with MacPorts and I can not install any port so far. My 
current softwares are

Mac OS 10.7.4
Xcode 4.1
XQuartz 2.6.4 (xorg-server 1.10.6).

Here is the problem

bogon:~ weiwei$ sudo port install vim
Password:
---  Computing dependencies for vimError: Unable to execute port: can't read 
build.cmd: Failed to locate 'make' in path: 
'/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its 
MacPorts configuration time location, did you move it?

Could anyone tell me the cause of this problem and how to fix it?

Thank you very much!

Sincerely,
Wei Wei

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


Re: Please tell me how to fix a installation problem, thanks!

2012-05-21 Thread Brandon Allbery
On Mon, May 21, 2012 at 11:16 AM, Apple Developer 
weiwei.morganstan...@gmail.com wrote:

 ---  Computing dependencies for vimError: Unable to execute port: can't
 read build.cmd: Failed to locate 'make' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPorts configuration time location, did you move it?

 Could anyone tell me the cause of this problem and how to fix it?


Most iikely, per https://trac.macports.org/wiki/ProblemHotlist:  you need
to make sure the command line tools for XCode are installed.

*Command Line Tools**
 *Xcode 4.3 does not include a fully working set of command line tools by
 default. Nothing will build without it, despite the fact that xcode-selectand 
 which
 make may return correct values.
 You must open Xcode, go to Preferences, and download this component from
 the Downloads section. You will require an Apple ID to download the
 component.


-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Please tell me how to fix a installation problem, thanks!

2012-05-21 Thread Jeremy Lavergne
 I am a beginner with MacPorts and I can not install any port so far. My 
 current softwares are
 
 Mac OS 10.7.4
 Xcode 4.1
 XQuartz 2.6.4 (xorg-server 1.10.6).

What version of MacPorts (run `port version`)?
Why such an old Xcode?

 Here is the problem
 
 bogon:~ weiwei$ sudo port install vim
 Password:
 ---  Computing dependencies for vimError: Unable to execute port: can't read 
 build.cmd: Failed to locate 'make' in path: 
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its 
 MacPorts configuration time location, did you move it?
 
 Could anyone tell me the cause of this problem and how to fix it?

Sounds like you need to install Xcode's Command Line Tools and you need to 
update your MacPorts installation (run `sudo port selfupdate`). Please see 
prerequisites to using MacPorts:
https://trac.macports.org/wiki/InstallingMacPorts



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Please tell me how to fix a installation problem, thanks!

2012-05-21 Thread Dominik Reichardt
You still have xcode 4.1. The problem with that version is that when you get it 
from the App Store you only download the installer to the Applications folder. 
Go to Applications and start Xcode install or Install Xcode (can't remember 
which).
Or betterget the newest version of Xcode. When you download that from the App 
Store you get the actual Xcode. Start that and in the preferences makeit 
downloadinstall the unix development tools. The other replies to your question 
have a better description on what to do ;)

Takecare and god luck

Dom

Am 21.05.2012 um 17:16 schrieb Apple Developer weiwei.morganstan...@gmail.com:

 Hi,
 
 I am a beginner with MacPorts and I can not install any port so far. My 
 current softwares are
 
 Mac OS 10.7.4
 Xcode 4.1
 XQuartz 2.6.4 (xorg-server 1.10.6).
 
 Here is the problem
 
 bogon:~ weiwei$ sudo port install vim
 Password:
 ---  Computing dependencies for vimError: Unable to execute port: can't read 
 build.cmd: Failed to locate 'make' in path: 
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its 
 MacPorts configuration time location, did you move it?
 
 Could anyone tell me the cause of this problem and how to fix it?
 
 Thank you very much!
 
 Sincerely,
 Wei Wei
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


MacPorts 2.1.1 has been released

2012-05-21 Thread Joshua Root
The MacPorts Project is pleased to announce the release of version
2.1.1. This is a bugfix release with small changes only. See the
ChangeLog [1] for the list of changes.

If you already have MacPorts installed, the preferred method for
updating is to run:

  sudo port selfupdate

For new installs, there are also package installers available for 10.5,
10.6 and 10.7 (universal builds, the former i386/ppc and the latter two
i386/x86_64) at [2]. The source is also available as tarballs compressed
with gzip or bzip2, or from the subversion tag [3].

Detached PGP signatures for the disk images and source tarballs have
been made with my key, which is available on the keyservers and my
MacPorts wiki page [4], the fingerprint being:

0x63BAD8CF2A10D5EE: 5F83 E16B D885 0601 5084  63C2 63BA D8CF 2A10 D5EE

Josh
(on behalf of the MacPorts Port Managers)

[1]
http://svn.macports.org/repository/macports/branches/release_2_1/base/ChangeLog
[2] https://www.macports.org/install.php
[3] https://svn.macports.org/repository/macports/tags/release_2_1_1/
[4] https://trac.macports.org/wiki/jmr

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


SAMBA 3.6.3

2012-05-21 Thread O'Dell James
Has anyone else experienced problems getting the latest macports version of 
Samba working.

After some poking around, I discovered that there is an OS X 10.7 patch lurking 
around that
increases the values for MAX_NGROUPS (Or some such name in the Samba sources).

It seems as if the OS X value of:

#define _SC_NGROUPS_MAX  4

In unistd.h is not large enough to contain the complete group list.

Rather than change the SAMBA code, I just upped the value above to 32, rebuilt 
the
samba 3.6.3 package and all was copacetic.

I have no idea why the default value is set to 4

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


Re: SAMBA 3.6.3

2012-05-21 Thread Brandon Allbery
On Mon, May 21, 2012 at 5:40 PM, O'Dell James j...@fpr.com wrote:

 Has anyone else experienced problems getting the latest macports version
 of Samba working.

 After some poking around, I discovered that there is an OS X 10.7 patch
 lurking around that
 increases the values for MAX_NGROUPS (Or some such name in the Samba
 sources).

 It seems as if the OS X value of:

 #define _SC_NGROUPS_MAX  4

 In unistd.h is not large enough to contain the complete group list.


If they're using that as the size, they are broken.  It's not a size, it's
the code given to sysconf() to have it return the maximum number of groups.

Rather than change the SAMBA code, I just upped the value above to 32,
 rebuilt the
 samba 3.6.3 package and all was copacetic.


So now invoking sysconf(_SC_NGROUPS_MAX) returns instead what
sysconf(_SC_MEMORY_PROTECTION) does?

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: SAMBA 3.6.3

2012-05-21 Thread O'Dell James
Shoot! You're right about that. What I did is completely broken and works 
simply by chance.

I guess I'll have to figure out how to apply the patch.

Thanks!

Jim

On May 21, 2012, at 5:45 PM, Brandon Allbery wrote:

 On Mon, May 21, 2012 at 5:40 PM, O'Dell James j...@fpr.com wrote:
 Has anyone else experienced problems getting the latest macports version of 
 Samba working.
 
 After some poking around, I discovered that there is an OS X 10.7 patch 
 lurking around that
 increases the values for MAX_NGROUPS (Or some such name in the Samba sources).
 
 It seems as if the OS X value of:
 
 #define _SC_NGROUPS_MAX  4
 
 In unistd.h is not large enough to contain the complete group list.
 
 If they're using that as the size, they are broken.  It's not a size, it's 
 the code given to sysconf() to have it return the maximum number of groups.
 
 Rather than change the SAMBA code, I just upped the value above to 32, 
 rebuilt the
 samba 3.6.3 package and all was copacetic.
 
 So now invoking sysconf(_SC_NGROUPS_MAX) returns instead what 
 sysconf(_SC_MEMORY_PROTECTION) does?
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 

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


Error installing xorg-server

2012-05-21 Thread theDaniel
Hi Folks,

New Macports user Question:

An error is given when I try to install xorg-server 1.8.1_1:

DEBUG: Searching for dependency: p5.12-locale-gettext
DEBUG: Didn't find receipt, going to depspec regex for: p5.12-locale-gettext
Error: Dependency 'p5.12-locale-gettext' not found.
To report a bug, follow the instructions in the guide:
   http://guide.macports.org/#project.tickets
Error: Processing of port xorg-server failed

Mac OS X 10.4.11
Xcode 2.5
Macports 2.1.1

Suggestions?

Thanks in advance,
-Daniel
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Error installing xorg-server

2012-05-21 Thread Ryan Schmidt

On May 21, 2012, at 20:06, theDaniel wrote:

 Hi Folks,
 
 New Macports user Question:
 
 An error is given when I try to install xorg-server 1.8.1_1:
 
 DEBUG: Searching for dependency: p5.12-locale-gettext
 DEBUG: Didn't find receipt, going to depspec regex for: p5.12-locale-gettext
 Error: Dependency 'p5.12-locale-gettext' not found.
 To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
 Error: Processing of port xorg-server failed
 
 Mac OS X 10.4.11
 Xcode 2.5
 Macports 2.1.1
 
 Suggestions?

Run sudo port selfupdate to resync your ports and rebuild the port index. The 
port p5.12-locale-gettext definitely exists, and has for a long time.


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


Re: SAMBA 3.6.3

2012-05-21 Thread James O'Dell
Here's the substance of the ticket I just submitted...

The latest SAMBA fails to initialize on startup. This seems to be related to 
the low value
of NAX_NGROUPS in the Darwin Kernel.

Here is the link that I found describing the problem:

http://www.sand4.info/index.php?q=aHR0cHM6Ly9naXN0LmdpdGh1Yi5jb20vMTg4ODc3OA%3D%3D

In it they show the hack:
--- system.c.orig   2012-02-22 22:46:14.0 -0200
+++ system.c2012-02-22 22:47:51.0 -0200
@@ -1161,7 +1161,14 @@
 
 int groups_max(void)
 {
-#if defined(SYSCONF_SC_NGROUPS_MAX)
+#if defined(DARWINOS)
+   /* On OS X, sysconf(_SC_NGROUPS_MAX) returns 16
+* due to OS X's group nesting and getgrouplist
+* will return a flat list; users can exceed the
+* maximum of 16 groups. And easily will.
+*/
+   return 32; // NGROUPS_MAX is defined, hence the define above is void.
+#elif defined(SYSCONF_SC_NGROUPS_MAX)
int ret = sysconf(_SC_NGROUPS_MAX);
return (ret == -1) ? NGROUPS_MAX : ret;
 #else

I haven't looked into this in any detail. Maybe someone else is more familiar 
with the code.


On May 21, 2012, at 6:03 PM, O'Dell James wrote:

 Shoot! You're right about that. What I did is completely broken and works 
 simply by chance.
 
 I guess I'll have to figure out how to apply the patch.
 
 Thanks!
 
 Jim
 
 On May 21, 2012, at 5:45 PM, Brandon Allbery wrote:
 
 On Mon, May 21, 2012 at 5:40 PM, O'Dell James j...@fpr.com wrote:
 Has anyone else experienced problems getting the latest macports version of 
 Samba working.
 
 After some poking around, I discovered that there is an OS X 10.7 patch 
 lurking around that
 increases the values for MAX_NGROUPS (Or some such name in the Samba 
 sources).
 
 It seems as if the OS X value of:
 
 #define _SC_NGROUPS_MAX  4
 
 In unistd.h is not large enough to contain the complete group list.
 
 If they're using that as the size, they are broken.  It's not a size, it's 
 the code given to sysconf() to have it return the maximum number of groups.
 
 Rather than change the SAMBA code, I just upped the value above to 32, 
 rebuilt the
 samba 3.6.3 package and all was copacetic.
 
 So now invoking sysconf(_SC_NGROUPS_MAX) returns instead what 
 sysconf(_SC_MEMORY_PROTECTION) does?
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 
 

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


Re: XCode command line tools enough for MacPorts?

2012-05-21 Thread LuKreme
On May 15, 2012, at 3:41, Harry van der Wolf hvdw...@gmail.com wrote:
 Are these command line tools not enough for MacPorts?

Nope, don't seem to be. You need Xcode and you need to do some work to convince 
macports Xcode is really installed. I decided to just roll back to 4.2 for now 
until this is all straightened out a little more.

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


Re: XCode command line tools enough for MacPorts?

2012-05-21 Thread Jeremy Lavergne
 Nope, don't seem to be. You need Xcode and you need to do some work to 
 convince macports Xcode is really installed. I decided to just roll back to 
 4.2 for now until this is all straightened out a little more.

It's not just to convince MacPorts. Xcode is actually used to build software 
that is distributed as Xcode projects.

You must have both Xcode and the Xcode command line tools installed.



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users