Re: port install hs-zlib fails

2015-03-24 Thread Mike
Router I have is a TP-Link TL-MR3020 with an Atheros AR9330 cpu. I'm more or less blindly following posts online and learning as I go. I believe the cross compiler is gcc? mp-gcc49 is listed as active. make menuconfig opens a configuration menu for openwrt where the target system/cpu can be specifi

Re: port install hs-zlib fails

2015-03-24 Thread Ryan Schmidt
On Mar 24, 2015, at 11:47 PM, Mike wrote: > Yes that's right. Trying to build firmware for a router Ok, so the router probably doesn't have an x86_64 CPU, so you're cross-compiling on your x86_64 CPU for a different CPU. Which one? Which cross compiler have you installed? The error message you

Re: port install hs-zlib fails

2015-03-24 Thread Mike
Yes that's right. Trying to build firmware for a router On Tue, Mar 24, 2015 at 9:43 PM, Ryan Schmidt wrote: > > On Mar 24, 2015, at 11:29 PM, Mike wrote: > > >> The log says: > >> > >> could not execute: /opt/local/bin/clang-mp-3.4 > >> > >> Does that file exist? Do you have the clang-3.4 port

Re: port install hs-zlib fails

2015-03-24 Thread Brandon Allbery
On Wed, Mar 25, 2015 at 12:41 AM, Mike wrote: > Undefined symbols for architecture x86_64: > "_libiconv", referenced from: > This is typical of linking against the wrong iconv library; Apple ships an ancient one, so both MacPorts and Homebrew ship modern ones which most things (notably includi

Re: port install hs-zlib fails

2015-03-24 Thread Ryan Schmidt
On Mar 24, 2015, at 11:29 PM, Mike wrote: >> The log says: >> >> could not execute: /opt/local/bin/clang-mp-3.4 >> >> Does that file exist? Do you have the clang-3.4 port installed? If not, >> install it. > > Thanks that worked and hs-zlib installed. Great. Sounds like hs-zlib or one of its

Re: port install hs-zlib fails

2015-03-24 Thread Mike
I really don't know:) Just following a post on how to setup macports for OpenWRT and that port was included. Running make stops here Making all in . /usr/bin/env bash ./libtool --tag=CC --mode=link gcc -I./glib -I./glib/glib -I./glib/glib -O2 -I/Volumes/OpenWRT/trunk/staging_dir/host/include

Re: port install hs-zlib fails

2015-03-24 Thread Brandon Allbery
On Wed, Mar 25, 2015 at 12:29 AM, Mike wrote: > Thanks that worked and hs-zlib installed. Quite new to using macports and > using it to try and build OpenWRT I have to wonder what the Haskell zlib binding has to do with OpenWRT :) -- brandon s allbery kf8nh sine

Re: port install hs-zlib fails

2015-03-24 Thread Mike
Thanks that worked and hs-zlib installed. Quite new to using macports and using it to try and build OpenWRT. Not having success, is this an appropriate place to ask questions about that? On Tue, Mar 24, 2015 at 8:45 PM, Ryan Schmidt wrote: > On Mar 24, 2015, at 10:37 PM, Mike wrote: > > > > Hi C

Re: port install hs-zlib fails

2015-03-24 Thread Ryan Schmidt
On Mar 24, 2015, at 10:37 PM, Mike wrote: > > Hi Clemens, here is the log The log says: could not execute: /opt/local/bin/clang-mp-3.4 Does that file exist? Do you have the clang-3.4 port installed? If not, install it. ___ macports-users mailing lis

Re: port install hs-zlib fails

2015-03-24 Thread Mike
Hi Clemens, here is the log -- Michael T. Lewis email: mtrle...@gmail.com On Tue, Mar 24, 2015 at 3:29 PM, Clemens Lang wrote: > > > - On 24 Mar, 2015, at 22:56, Mike siwele...@gmail.com wrote: > > > Hi, I'm running osx 10.8.5 on an early 2008 macbook pro. > > > > sudo port install hs-zlib

Re: port install hs-zlib fails

2015-03-24 Thread Clemens Lang
- On 24 Mar, 2015, at 22:56, Mike siwele...@gmail.com wrote: > Hi, I'm running osx 10.8.5 on an early 2008 macbook pro. > > sudo port install hs-zlib produces the following: > > Password: > ---> Computing dependencies for hs-zlib > ---> Configuring hs-zlib > Error: org.macports.configure f

Re: Apache source?

2015-03-24 Thread Gary Fitts
I read through the MacPorts Guide, but unfortunately found no mention of “port patch” there. I ran "sudo port patch apache2” anyway and found the resulting build environment. Now comes the fun part... Thanks! > On Mar 24, 2015, at 8:12 AM, Brandon Allbery wrote: > > On Tue, Mar 24, 2015 at

port install hs-zlib fails

2015-03-24 Thread Mike
Hi, I'm running osx 10.8.5 on an early 2008 macbook pro. sudo port install hs-zlib produces the following: Password: ---> Computing dependencies for hs-zlib ---> Configuring hs-zlib Error: org.macports.configure for port hs-zlib returned: configure failure: command execution failed Please see t

Re: what was up with ntp again?

2015-03-24 Thread Bradley Giesbrecht
On Mar 23, 2015, at 11:10 AM, Mihai Moldovan wrote: > On 23.03.2015 07:05 PM, Christopher Jones wrote: >> I also do not have /etc/ntp.drift on either of my OSX10.10 machines. >> On 23 Mar 2015, at 5:54pm, Brandon Allbery > > wrote: > > No /etc/ntp.drift on my 10.9 ma

Re: thread CPU usage monitor?

2015-03-24 Thread René J . V . Bertin
On Tuesday March 24 2015 15:30:19 Daniel J. Luke wrote: > > On Mar 24, 2015, at 1:59 PM, Mihai Moldovan wrote: > > I don't know of any application for OS X to get this kind of information > > out of the box, sorry. > > ps -M ? Indeed. I don't see a way to identify the threads though. Unless one

Re: thread CPU usage monitor?

2015-03-24 Thread Daniel J. Luke
> On Mar 24, 2015, at 1:59 PM, Mihai Moldovan wrote: > I don't know of any application for OS X to get this kind of information > out of the box, sorry. ps -M ? -- Daniel J. Luke +===

Re: thread CPU usage monitor?

2015-03-24 Thread Mihai Moldovan
On 24.03.2015 07:03 PM, Christopher Jones wrote: > Can’t be sure but I am guessing Rene already knows about Activity Monitor… As > far as I know it cannot do exactly what was asked, which is show info on > threads ? > > Have you tried htop ? It seems to claim to be able to do thus, and MacPorts

Re: thread CPU usage monitor?

2015-03-24 Thread Ludwig
On Tue, 24 Mar 2015, Mihai Moldovan wrote: > On 24.03.2015 06:39 PM, Pierre Malard wrote: > > Their is a lot of utilities like « MenuMeters » > > (http://www.ragingmenace.com) which can dodo that. > > A other Mac OS X integrated tool is « Activity Monitor » which can give you > > a lot of inform

Re: thread CPU usage monitor?

2015-03-24 Thread René J . V . Bertin
On Tuesday March 24 2015 18:03:16 Christopher Jones wrote: > Can’t be sure but I am guessing Rene already knows about Activity Monitor… I guess you guessed right :) > As far as I know it cannot do exactly what was asked, which is show info on > threads ? If it can, I (nor Mihai) don't know ab

Re: thread CPU usage monitor?

2015-03-24 Thread Christopher Jones
Hi, > On 24 Mar 2015, at 5:39pm, Pierre Malard wrote: > > Their is a lot of utilities like « MenuMeters » (http://www.ragingmenace.com) > which can dodo that. > A other Mac OS X integrated tool is « Activity Monitor » which can give you a > lot of information about system. Can’t be sure but I

Re: thread CPU usage monitor?

2015-03-24 Thread Dave Horsfall
On Tue, 24 Mar 2015, Pierre Malard wrote: > Their is a lot of utilities like « MenuMeters » > (http://www.ragingmenace.com) which can dodo that. A other Mac OS X > integrated tool is « Activity Monitor » which can give you a lot of > information about system. There's also iStat Menus; it's che

Re: thread CPU usage monitor?

2015-03-24 Thread Mihai Moldovan
On 24.03.2015 06:39 PM, Pierre Malard wrote: > Their is a lot of utilities like « MenuMeters » (http://www.ragingmenace.com) > which can dodo that. > A other Mac OS X integrated tool is « Activity Monitor » which can give you a > lot of information about system. Neither MenuMeters nor the Activit

Re: thread CPU usage monitor?

2015-03-24 Thread Pierre Malard
Their is a lot of utilities like « MenuMeters » (http://www.ragingmenace.com) which can dodo that. A other Mac OS X integrated tool is « Activity Monitor » which can give you a lot of information about system. > Le 24 mars 2015 à 16:50, René J.V. Bertin a écrit : > > Hi, > > On MS Windows th

thread CPU usage monitor?

2015-03-24 Thread René J . V . Bertin
Hi, On MS Windows there's a Process Explorer that allows you to monitor the CPU usage of each thread in an application, which can be quite useful. Googling the topic I did find a code snippet showing how to query this information on OS X, but no ready-to-use utility that displays this informati

Re: Apache source?

2015-03-24 Thread Brandon Allbery
On Tue, Mar 24, 2015 at 11:07 AM, Gary Fitts wrote: > Actually I was hoping to study the core server as well as add a custom > module or two. I did this before in a previous life, and debugging > high-load performance was a lot easier (not easy, but easier) with the > server source Normally you

Re: Apache source?

2015-03-24 Thread Gary Fitts
Actually I was hoping to study the core server as well as add a custom module or two. I did this before in a previous life, and debugging high-load performance was a lot easier (not easy, but easier) with the server source. If anyone knows of a packaged build environment, I would appreciate it.

Re: Apache source?

2015-03-24 Thread Ryan Schmidt
On Mar 23, 2015, at 7:02 PM, Gary Fitts wrote: > > I installed the MacPorts Apache2 package (apache 2.2.9) hoping to have a > build environment where I can add a custom Apache module. But there doesn’t > seem to be any build environment — no source files etc, just binaries. Am I > missing somet