swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Something for everyone! Questions about programming AND installation


From: Rick Riolo
Subject: Re: Something for everyone! Questions about programming AND installation!
Date: Wed, 29 Oct 1997 19:56:42 -0500 (EST)

I don't know the answer to most of your questions, but I can
answer: 

> Incidentally, can you explain to me what a path like:
>    /usr/include/../lib
> means?  I don't understand the ../lib part.

In this case it (probably) just means the same as
   /usr/lib
The .. means what it does in unixland paths, 
that is "the directory above where we are now", so
  /usr/include/..
means /usr, and then take on the lib and you get /usr/lib .
Thus 
   ls /usr/include/../lib
will get you the same list as /usr/lib .
  
(And here comes the reason for the "(probably)" above:
if there are symbolic links involved, that kind of reference
can leave you somewhere other than where it usually would,
because you go "up" from the place the symbolic link points to,
which may be somewhere else in the directory tree.)

Now for the speculations:
I believe the dlopen & friends are for doing dynamic loading,
which is associated with use the .so (shared object?) libs
vs the .a (static linked) libs.
So perhaps because it couldn't figure out what kind
of machine/opsystem you are on (the ./configure problems)
it ended up being confused about whether it should try
to use shared or static libs and loads. Or maybe your
tcl/tk ending up building shared (dynamically linkable) libs, 
but your BLT build ending up making static libs and execuatbles, 
and so BLT  didn't link in the routines for doing dynamic loading?
But that's all me guessing.
 - r

Rick Riolo                           address@hidden
Program for Study of Complex Systems (PSCS)
4068 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 313 763 3323                  Fax: 313 763 9267
http://pscs.physics.lsa.umich.edu/PEOPLE/rlr-home.html
http://pscs.physics.lsa.umich.edu//pscs.html

On Wed, 29 Oct 1997, Paul Johnson wrote:

> Date: Wed, 29 Oct 1997 15:32:52 -0600 (CST)
> From: Paul Johnson <address@hidden>
> To: Swarm-Support <address@hidden>
> Subject: Something for everyone! Questions about programming AND installation!
> 
> 
> I'm creating a model of majority rule.  In this model, there are
> agent/voters who live in a list, and then candidates make promises
> and agent/voters report back on which is most suitable.  I'm having
> a hard time finding an explanation/example of how to tally the reports
> of many such agents in order to determine the majority preference. 
> Can anyone explain/point me in the direction of an example?
> 
> Second, on a dual Pentium II, I have previously limped along with the
> binary install. To prove I'm a real scholar (and use debugger!) I am
> doing an archive install. Libtclobjc seems to install fine. OUr friend
> BLT, on the other hand, is, well, still a problem. (BLT 2.1).
> 
> First, when I run ./configure, I get this:  
> checking host system type... Invalid configuration `i686-unknown-linux':
> machine `i686-unknown' not recognized
> 
> checking target system type... Invalid configuration `i686-unknown-linux':
> machine `i686-unknown' not recognized
> 
> checking build system type... Invalid configuration `i686-unknown-linux':
> machine `i686-unknown' not recognized
> 
> 
> Cool, huh?  I guess I'll go ahead anyway.
> 
> Then I patched line 1178 of bltBgexec.c and ran make.  After it whirred
> for a while, I got this: 
> -----------------------------
> making BLT demo "bltwish"...
> rm -f bltwish
> gcc -O3 -fno-strength-reduce -Wwrite-strings -Wshadow -Wtraditional
> -fwritable-strings -Wall  -I.   -I/usr/X11R6/include  \
>         ./tkAppInit.c -o bltwish ./src/libBLT.a  -L/usr/include/../lib
> -ltk4.2 -L/usr/include/../lib -ltcl7.6 -L/usr/X11R6/lib -lX11  -lm  
> ./tkAppInit.c:29: warning: `rcsid' defined but not used
> /usr/include/../lib/libtcl7.6.so: undefined reference to `dlerror'
> /usr/include/../lib/libtcl7.6.so: undefined reference to `dlopen'
> /usr/include/../lib/libtcl7.6.so: undefined reference to `dlsym'
> make: *** [bltwish] Error 1
> ----------------------------------
> 
> 
> I've done the archive install before and I remember something like this,
> but I can't recall what to do.  DO you know?  The configuration asks
> for lots of ".a" files, but my configuration leads to the .so files, but
> it doesn't seem that would be the problem, does it?  If so, I should
> add something in the FAQ about it.
> 
> Incidentally, can you explain to me what a path like:
>    /usr/include/../lib 
> means?  I don't understand the ../lib part.
> 
> Paul Johnson
> Making every Linux installation an adventure!
> 
> PS. Yesterday I called our academic computing service to ask a question
> about networking on my NT/linux system.  The consultant bluntly told me
> that I was too far up on the curve for their help, but if I had any
> DOS or win95 questions I should be sure to call back.  I wonder
> if that happens at other universities?
> 
> 
>                   ==================================
>    Swarm-Support is for discussion of the technical details of the day
>    to day usage of Swarm.  For list administration needs (esp.
>    [un]subscribing), please send a message to <address@hidden>
>    with "help" in the body of the message.
>                   ==================================
> 

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]