[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Objet : Re: your message on MCSim help
From: |
Frédéric BOIS |
Subject: |
Objet : Re: your message on MCSim help |
Date: |
Fri, 26 Jul 2002 16:55:44 +0200 |
Hello!
You do not need, with version 4 of the software, to issue
a "make install" command. According to your script output
the "mod" executable has been successfully generated:
* Created executable "mod".
You should then place the mod executable in your PATH of executables
or copy it to the "sim" folder.
Try typing "mod" at the shell prompt in the sim directory (folder). It will
tell you
its version and also that it need a model file to process. Try then "mod
perc.model"
(the perc model is in an example", that should generate a model.c file.
You would then go ahead an issue "make MODEL=perc.model" in the sim
folder and that should produce an "mcsim" executable program.
Tell me if you have more problems.
Frederic Bois
_____________________________________________
Dear Sirs:
I recently dl'd MCsim to my Mac from your site. I am
using Mac OS 10.1.5 (although I dl'd MCsim when I had
Mac OS 10.1.4, if it makes any difference). After figuring
out that I needed to make aliases point to my compiler
(Mac 10 compiler called cc and language c++ instead
of gcc and g++) I finally used the make utility on the
makefile (I will include the terminal image of that
instance at the end of this mail). When using 'make
install' I have a problem. I'm new to unix programming
but have poked around in my system and have found
no 'install' option to my make utility. However there is
an 'install' utility which seems to copy a file from one
place to the next; for some reason this doesn't sound
like the install utility that I need; I tried it but when I tried
to invoke the mod utility at the terminal (and by double
clicking in the Aqua gui) it reported an error.
Nonetheless, I'd like to use MCsim on a pbpk model
I've worked on and need your help.
Included below is the history of the terminal wherein I
'made' the makefile and also the history of my (mis-
)uses of 'install'. Incidentally, after it didn't work, I
thought I would cat mod just to see if there was
anything there: I have included in this email the output
of cat mod in case you may find it useful. Any help you
may have would be extremely appreciated!!
Thanks in advance for your help,
Jason L. Boyd
PhD Candidate
Interdisciplinary Program in Toxicology
Department of Pharmaceutical and Biomedical
Sciences, College of Pharmacy
University of Georgia
706-542-5254
enc1:make history:
<note that the MCsim dl'd as the Unix variant, the html
manual for mcsim said I would have different directory
structures than these>
[localhost:/Users/Shared] ugajlb% cd /Users/Shared/
mcsim
[localhost:/Users/Shared/mcsim] ugajlb% ls
doc mod sim
[localhost:/Users/Shared/mcsim] ugajlb% cd /Users/
Shared/mcsim/mod
[localhost:Shared/mcsim/mod] ugajlb% ls
1cpt.model lex.h lexfn.h modd.c modiface.h
strutil.c
Makefile lexerr.c linear.model model.c modo.c
strutil.h
hungtype.h lexerr.h mod.c modelu.h
perc.model
lex.c lexfn.c mod.h modi.c ref_model.c
[localhost:Shared/mcsim/mod] ugajlb% make
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o lex.o
lex.c
lex.c: In function `GetStatement':
lex.c:672: warning: suggest explicit braces to avoid
ambiguous `else'
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o lexerr.o
lexerr.c
lexerr.c: In function `ReportError':
lexerr.c:53: warning: suggest explicit braces to avoid
ambiguous `else'
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o lexfn.o
lexfn.c
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o mod.o
mod.c
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o modd.o
modd.c
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o modi.o
modi.c
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o modo.o
modo.c
modo.c: In function `ForAllVar':
modo.c:81: warning: suggest explicit braces to avoid
ambiguous `else'
gcc -O -DNDEBUG -I . -Wall -DMODGEN -c -o strutil.o
strutil.c
Linking mod...
* Created executable "mod".
***************************************
enc2:installing mod history:
[localhost:Shared/mcsim/mod] ugajlb% make install
mod
make: *** No rule to make target `install'. Stop.
[localhost:Shared/mcsim/mod] ugajlb% .
/Users/Shared/mcsim/mod
[localhost:Shared/mcsim/mod] ugajlb% make install
make: *** No rule to make target `install'. Stop.
[localhost:Shared/mcsim/mod] ugajlb% sudo install
mod
Password:
usage: install [-cps] [-f flags] [-m mode] [-o owner] [-g
group] [-l linkflags] [-S stripflags] file1 file2
install [-cps] [-f flags] [-m mode] [-o owner] [-g
group] [-l linkflags] [-S stripflags] file1 ... fileN directory
install -pd [-m mode] [-o owner] [-g group] directory
...
[localhost:Shared/mcsim/mod] ugajlb% ls
1cpt.model lexerr.c linear.model modd.o modo.c
strutil.o
Makefile lexerr.h mod model.c modo.o
hungtype.h lexerr.o mod.c modelu.h
perc.model
lex.c lexfn.c mod.h modi.c ref_model.c
lex.h lexfn.h mod.o modi.o strutil.c
lex.o lexfn.o modd.c modiface.h strutil.h
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Objet : Re: your message on MCSim help,
Frédéric BOIS <=