It works, the bash was it! Thank you. Sometimes careful reading helps...



-----Original Message-----
From: Andrew McBride [mailto:[email protected]]
Sent: Wed 1/13/2010 8:09 AM
To: Wolfgang Bangerth
Cc: [email protected]; Christoph, Jan
Subject: Re: [deal.II] installation problems
 
Hi

The problem could also arise because deal is expecting the shell to be bash
(as Wolfgang suggested you have to add the line for the library to your
.bashrc). So change the shell to bash and all should be fine. See the snippet
below

problem as shell is not bash:
----------------------------------------

0-23-6c-8b-5e-52:~ andrewmcbride$ cd
lib/real_deal_svn/deal.II/examples/step-1
0-23-6c-8b-5e-52:step-1 andrewmcbride$ make run
Makefile:152: Makefile.dep: No such file or directory
============================ Remaking Makefile.dep
==============debug========= step-1.cc
============================ Linking step-1
============================ Running step-1
dyld: Library not loaded: libdeal_II_2d.g.6.3.pre.dylib
  Referenced from:
/Users/andrewmcbride/lib/real_deal_svn/deal.II/examples/step-1/./step-1
  Reason: image not found
make: *** [run] Trace/BPT trap

change shell to bash and all is fine

------------------------------------------------
0-23-6c-8b-5e-52:step-1 andrewmcbride$ bash
bash-3.2$ make run============================ Running step-1
bash-3.2$ 

Andrew

On 12 Jan 2010, at 9:59 PM, Wolfgang Bangerth wrote:

> 
>> I am new to dealii. Installation on Mac OSX 10.5.7, which is not on your
>> list> I think I did not see any problems during installation. When I try
to
>> follow the tutorial programs - step 1 and step 2 - I encounter the
>> following problem:
>> 
>> macx: step-1 user$ ls
>> Makefile     doc             step-1.cc
>> macx:step-1 user$ make
>> Makefile:152: Makefile.dep: No such file or directory
>> ============================ Remaking Makefile.dep
>> ==============optimized===== step-1.cc
>> ============================ Linking step-1
>> macx:step-1 user$ ls
>> Makefile     doc             step-1.cc
>> Makefile.dep step-1          step-1.o
>> macx:step-1 user$ make run
>> ============================ Running step-1
>> dyld: Library not loaded: libdeal_II_2d.6.2.0.dylib
>>  Referenced from: /Users/user/deal.II/examples/step-1/./step-1
>>  Reason: image not found
>> make: *** [run] Trace/BPT trap
>> 
>> Does this mean that my installation of dealii did not work? Any hints? I
>> can find the file libdeal_II_2d.6.2.0.dylib in the lib folder. How do I
>> deinstall/reinstall dealii? Simply deleting and recompiling?
> 
> At the end of the output when running ./configure there should be statement
of 
> the kind saying
> 
>  "     Please add the line"
>  "        export DYLD_LIBRARY_PATH=\$DYLD_LIBRARY_PATH:$DEAL2_DIR/lib"
>  "     to your .bash_profile file so that OSX will be"
>  "     able to find the deal.II shared libraries when"
>  "     executing your programs."
> 
> Run ./configure again and see what the actual pathnames are and follow the 
> advice. That should, I believe, take care of the problem.
> 
> W.
> 
> 
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: http://www.math.tamu.edu/~bangerth/
> 
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii


_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to