Re: installations not working

2009-06-05 Thread Ryan Schmidt


On Jun 5, 2009, at 16:32, Mark M Huntress wrote:

I got macports recently and I tried to install molden and gcc44 and  
neither of them is installing. For Molden, it installed some other  
things, but never got to the point where Molden was installed. It  
kind of just ended up sitting there looking like it was working,  
just for like hours.
 Now I am trying to install gcc44 and it is doing the same thing.  
It fetches, and extracts and configures, but then it just sits  
there building for hours, and I don't think it is ever going to work.
 Is there something wrong with my macports, or something wrong with  
me?


Welcome to MacPorts!


I haven't tried the molden port specifically. But I know gcc4x do  
take a long time. On my 2-core Intel Mac I think it took an hour or  
so, while on my older PowerPC it took over 6 hours.


As scott said, the -d flag will give you more indication of what  
MacPorts is doing, if you care to see that. Or you can just open  
Activity Monitor to confirm that something is in fact happening.




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


Re: GDB 6.8 via Mac Ports?

2009-06-05 Thread Darren Weber
Hi,

I spent a while looking into this, pretty nearly clueless about how to
resolve the problem.  I've commented on my experience today in the ticket:

http://trac.macports.org/ticket/19871

To save others the trouble, I've committed a change to the trunk of this
port so that the fetch stage just issues a message about the port failing to
build everything, with reference to that ticket.  Hopefully that will save
some trouble for others trying to use the port.  In hindsight, the port
should not have been committed in the first place, but it wasn't clear to me
at the time that it was failing to build everything.  Anyhow, sorry for all
the inconvenience!

Take care,
Darren



On Fri, Jun 5, 2009 at 1:40 PM, Kendall Bennett
wrote:

>  Hi Darren,
>
> Thanks for the update. I am a total newb when it comes to Mac Ports, and
> although I have built GDB in the past on Linux, I never really played much
> with it past just building it (and patching in debugging support for X11
> loadable modules). But that was a while ago.
>
> If I get time, I will play with this a bit and see if I can work it out. If
> you do get it figured out, let me know!
>
> Regards,
>
> *Kendall Bennett, CEO
> *A Main Hobbies
> 424 Otterson Drive, Suite 160
> Chico, CA 95928
> 1-800-705-2215 (Toll-Free)
> 1-530-894-0797 (Int'l & Local)
> 1-530-894-9049 (Fax)
> *http://www.amainhobbies.com
> *
>
> --
> *From: *Darren Weber 
> *Date: *Fri, 5 Jun 2009 11:38:09 -0700
> *To: *Kendall Bennett 
> *Cc: *MacPorts Users 
> *Subject: *Re: GDB 6.8 via Mac Ports?
>
>
>
> Hi Kendall,
>
> I put this Portfile together in the hope that the build and install would
> be smooth.  It's not.  I'm a novice at building gdb, so I have a lot to
> learn about why this is failing.  It may be that the automatic detection of
> the target architecture is wrong, it currently detects
>
> checking build system type... i386-apple-darwin9.7.0
> checking host system type... i386-apple-darwin9.7.0
>
> The main concern is this:
>
> checking build system type... i386-apple-darwin9.7.0
> checking host system type... i386-apple-darwin9.7.0
> checking target system type... i386-apple-darwin9.7.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/gcc-4.0 accepts -g... yes
> checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether /usr/bin/g++-4.0 accepts -g... yes
> checking for gnatbind... no
> checking for gnatmake... no
> checking whether compiler driver understands Ada... no
> checking how to compare bootstrapped objects... cmp --ignore-initial=16
> $$f1 $$f2
> *** This configuration is not supported in the following subdirectories:
>  bfd opcodes gdb sim
> (Any other directories should still work fine.)
>
>
> So what is happening is the build and install is working, but only
> partially.  It would be preferable that the build fails at this point, but
> it does not!
>
> I'm very sorry to waste your time, I wish this was working!  I think the
> main thing to get right is the target platform identifier.  I looked into it
> briefly, but it's not resolved yet.  I would hope that if the target
> platform is identified correctly (and fully supported by gdb 6.8), the port
> will be functional.
>
> If you have the motivation and patience to look into it, I can advise you
> on how to play around with the Porfile.  The first thing to do is to run
> port in debug mode, i.e.:
>
> sudo port -d destroot gdb
>
> This will provide a lot of information on what port is doing.  The destroot
> target does the configure and build, then runs make install with a custom
> DESTDIR.  MacPorts uses that DESTDIR, called destroot, as a way to parse the
> files in the port, install the files into
> /opt/local/var/macports/software/gdb/ and then activate the port with hard
> links in /opt/local to the files in the software/gdb installation.
>
> The destroot path for this port is
>
>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gdb/work/destroot
>
> The pitiful truth is that the only files currently installed there are:
>
> .../destroot/
> .../destroot//opt
> .../destroot//opt/local
> .../destroot//opt/local/lib
> .../destroot//opt/local/lib/libiberty.a
> .../destroot//opt/local/share
> .../destroot//opt/local/share/info
> .../destroot//opt/local/share/info/configure.info 
> .../destroot//opt/local/share/info/standards.info 
>
> If you want to build

Re: installations not working

2009-06-05 Thread William Davis


On Jun 5, 2009, at 5:32 PM, Mark M Huntress wrote:

I got macports recently and I tried to install molden and gcc44 and  
neither of them is installing. For Molden, it installed some other  
things, but never got to the point where Molden was installed. It  
kind of just ended up sitting there looking like it was working,  
just for like hours.
Now I am trying to install gcc44 and it is doing the same thing. It  
fetches, and extracts and configures, but then it just sits there  
building for hours, and I don't think it is ever going to work.

Is there something wrong with my macports, or something wrong with me?
Thanks
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Do what Scott said but gcc is a long compile -- it is a compiler  
after all! ;)


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.7 Darwin 9.7.0
XQuartz 2.4.0 (xorg-server 1.5.3-apple8)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

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


Re: installations not working

2009-06-05 Thread Scott Haneda
Can you add -d to your install line to get debug output?  That will  
give you many clues. You can also post the output here.

--
Scott
Iphone says hello.

On Jun 5, 2009, at 2:32 PM, Mark M Huntress  wrote:

I got macports recently and I tried to install molden and gcc44 and  
neither of them is installing. For Molden, it installed some other  
things, but never got to the point where Molden was installed. It  
kind of just ended up sitting there looking like it was working,  
just for like hours.
Now I am trying to install gcc44 and it is doing the same thing. It  
fetches, and extracts and configures, but then it just sits there  
building for hours, and I don't think it is ever going to work.

Is there something wrong with my macports, or something wrong with me?
Thanks
___
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


installations not working

2009-06-05 Thread Mark M Huntress
I got macports recently and I tried to install molden and gcc44 and neither of 
them is installing. For Molden, it installed some other things, but never got 
to the point where Molden was installed. It kind of just ended up sitting there 
looking like it was working, just for like hours. 
 Now I am trying to install gcc44 and it is doing the same thing. It fetches, 
and extracts and configures, but then it just sits there building for hours, 
and I don't think it is ever going to work. 
 Is there something wrong with my macports, or something wrong with me? 
Thanks
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: gnuplot png

2009-06-05 Thread Lenore Horner


On Jun 5, 2009, at 12:36 , Ryan Matthew Balfanz wrote:

I sounds like the png file might be getting sent to stdout rather  
than a file.


Are you setting 'output' correctly?

-Ryan

Hi Ryan,

I don't know that I'm setting the output correctly.  I'm setting it  
the same way on both machines

set terminal png font 'Times' 24 size 640, 580

I'll go have a look at "output".

Lenore



On Thu, Jun 4, 2009 at 5:41 PM, Lenore Horner> wrote:

I have gnuplot installed on two machines:
G4 10.5.7 making everything not use x11
Intel 10.5.7

On the second machine I can create png plots with gnuplot.  On the  
first the
same command causes gibberish (symbols) to be spewed out in the  
command line
and no png file to be created.   I assume disabling x11 has somehow  
mangled
png output, but I don't know why or how to fix it.   Does anyone  
have any

clue?

Lenore

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





--
Ryan Matthew Balfanz
Graduate Student
Department of Physics
Southern Illinois University Edwardsville
http://www.siue.edu/~rbalfan/


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


Re: GDB 6.8 via Mac Ports?

2009-06-05 Thread Darren Weber
Hi Kendall,

I put this Portfile together in the hope that the build and install would be
smooth.  It's not.  I'm a novice at building gdb, so I have a lot to learn
about why this is failing.  It may be that the automatic detection of the
target architecture is wrong, it currently detects

checking build system type... i386-apple-darwin9.7.0
checking host system type... i386-apple-darwin9.7.0

The main concern is this:

checking build system type... i386-apple-darwin9.7.0
checking host system type... i386-apple-darwin9.7.0
checking target system type... i386-apple-darwin9.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.0 accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
*** This configuration is not supported in the following subdirectories:
 bfd opcodes gdb sim
(Any other directories should still work fine.)


So what is happening is the build and install is working, but only
partially.  It would be preferable that the build fails at this point, but
it does not!

I'm very sorry to waste your time, I wish this was working!  I think the
main thing to get right is the target platform identifier.  I looked into it
briefly, but it's not resolved yet.  I would hope that if the target
platform is identified correctly (and fully supported by gdb 6.8), the port
will be functional.

If you have the motivation and patience to look into it, I can advise you on
how to play around with the Porfile.  The first thing to do is to run port
in debug mode, i.e.:

sudo port -d destroot gdb

This will provide a lot of information on what port is doing.  The destroot
target does the configure and build, then runs make install with a custom
DESTDIR.  MacPorts uses that DESTDIR, called destroot, as a way to parse the
files in the port, install the files into
/opt/local/var/macports/software/gdb/ and then activate the port with hard
links in /opt/local to the files in the software/gdb installation.

The destroot path for this port is

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gdb/work/destroot

The pitiful truth is that the only files currently installed there are:

.../destroot/
.../destroot//opt
.../destroot//opt/local
.../destroot//opt/local/lib
.../destroot//opt/local/lib/libiberty.a
.../destroot//opt/local/share
.../destroot//opt/local/share/info
.../destroot//opt/local/share/info/configure.info
.../destroot//opt/local/share/info/standards.info

If you want to build everything custom, without MacPorts, you can copy the
distfile into your build path from

/opt/local/var/macports/distfiles/gdb/gdb*.tar.gz

I hope we can fix this one!  I've created a new trac ticket on this issue:
http://trac.macports.org/ticket/19871

Take care,
Darren





On Fri, Jun 5, 2009 at 10:56 AM, Kendall Bennett
wrote:

>  Hi Darren,
>
> I am trying to get an updated version of GDB installed to see if it will
> solve some problems I have found with the one distributed by Apple (seems to
> have issues with breakpoints in some C++ programs, specifically Qt4 stuff).
> Anyway, I tested gdb 6.8 on Windows and it seems to not have these issues,
> so the Mac Ports version of gdb 6.8 seemed like a good option.
>
> Anyway, I did the installed and ran into a snag during the activation,
> saying the following:
>
> --->  Activating gdb
> Error: port activate failed: Image error: /opt/local/share/info/
> standards.info is being used by the active autoconf port.  Please
> deactivate this port first, or use 'port -f activate gdb' to force the
> activation.
>
> I have both tried deactivating autoconf and activating gdb, and leaving
> autoconf activated and forcing the activation of gdb, but there does not
> appear to be any gdb binary located anywhere under the /opt/local tree? I
> was expecting it to show up on /opt/local/bin, but there is nothing there,
> and searching the /opt/local directory does not find anything resembling a
> gdb binary?
>
> What am I missing here?
>
> Regards,
>
> *Kendall Bennett, CEO
> *A Main Hobbies
> 424 Otterson Drive, Suite 160
> Chico, CA 95928
> 1-800-705-2215 (Toll-Free)
> 1-530-894-0797 (Int'l & Local)
> 1-530-894-9049 (Fax)
> *http://www.amainhobbies.com*
>

MPICH2 package

2009-06-05 Thread Alejandro Aragon

Hello everyone,

I installed the package mpich2 and I'm trying to find out how to use  
it in the mac. This may be a little too complicated, but maybe someone  
faced this issue before and can save me a lot of time trying to find  
out the solution.


I've been using the macports GCC43 compiler to build my code, together  
with autotools. When using autotools, a macro is used to detect the  
presence of mpi in the system. The macro is


ACX_MPI([AC_MSG_NOTICE([MPI enabled])],[AC_MSG_NOTICE([MPI disabled])])

Now, the macro finds mpiCC, which in this case is the one installed  
through macports


aara...@~/Documents/workspace/xga$which mpiCC
/opt/local/bin/mpiCC
aara...@~/Documents/workspace/xga$mpiCC --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.


So far so good, but then the test fails as follows:

configure:17516: checking for mpiCC
configure:17532: found /opt/local/bin/mpiCC
configure:17543: result: mpiCC
configure:17561: checking for MPI_Init
configure:17617: mpiCC -o conftest -g -O3 -I/Users/aaragon/Lib/include  
-I/opt/local/include -L/Users/aaragon/Lib/lib -L/opt/local/lib  
conftest.cpp  >&5

Undefined symbols:
  "___gxx_personality_v0", referenced from:
  ___gxx_personality_v0$non_lazy_ptr in ccCBfhuI.o
ld: symbol(s) not found


So I guess the issue is the use of a much older compiler to the one I  
was using to compile the code (namely GCC43).


Does anybody know how to get around this?

Thank you all,

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


Re: gnuplot png

2009-06-05 Thread Ryan Matthew Balfanz
I sounds like the png file might be getting sent to stdout rather than a file.

Are you setting 'output' correctly?

-Ryan

On Thu, Jun 4, 2009 at 5:41 PM, Lenore Horner wrote:
> I have gnuplot installed on two machines:
> G4 10.5.7 making everything not use x11
> Intel 10.5.7
>
> On the second machine I can create png plots with gnuplot.  On the first the
> same command causes gibberish (symbols) to be spewed out in the command line
> and no png file to be created.   I assume disabling x11 has somehow mangled
> png output, but I don't know why or how to fix it.   Does anyone have any
> clue?
>
> Lenore
>
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>



-- 
Ryan Matthew Balfanz
Graduate Student
Department of Physics
Southern Illinois University Edwardsville
http://www.siue.edu/~rbalfan/
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users