-rw-r--r--  1 root  admin  63440 Sep 16 21:05 lib

Was this file created Sep 16 at 21:05?

I opened the console and searched for the string "usr/local/lib" and found this as the first entry:

2010-09-16 17:49:25 sudo[47864] tomwegner : TTY=ttys000 ; PWD=/Users/ tomwegner/Downloads/shapelib-1.2.10 ; USER=root ; COMMAND=/bin/cp libshp.a/usr/local/lib

followed by:

2010-09-16 17:49:52 sudo[47866] tomwegner : TTY=ttys000 ; PWD=/Users/ tomwegner/Downloads/shapelib-1.2.10 ; USER=root ; COMMAND=/usr/bin/ ranlib /usr/local/lib/libshp.a

which, if I am recalling correctly, is probably coinciding with the timing of my attempt to first run the instructions for the shapelib dowload and build. This would have been my first reception of the "not a directory" message.

I am not certain what you mean by checking "the directions up to this point . . ." as I am not aware of any directions that asked me to create a lib item prior to this step. Outside of yesterdays activities, I am quite certain I never used the terminal for anything. Perhaps it was created yesterday in the process of:

downloading the Developer Tools
Installing MacPorts
the running of "sudo /opt/local/bin/port selfupdate" which I thought was an online update of the MacPorts software or the downloading/building of the MacPorts software "sudo /opt/local/ bin/port install curl imagemagick openmotif pcre db42 lcms proj gdal libpng libxml2".

Now that I revisited that in my mind, there was an error I made. I had typed . . . "openmotifpcre" . . . as one word; at the end of the process I received notice that no such item existed (or some such instruction) and looking at the printout, decided there should be a space there, so re-entered the command with only "openmotif pcre" in the install list, and that seemed to work fine. Not thinking that might be the source of the problem, but wanted to mention it as it was different than the procedure as laid out in the instructions. I noticed a lot of things were being done in the 3 or so hours it took for that original command to execute, but I would think if something went wrong in there, others would have run into it as well.

Where will I find information regarding who the owner and group should be and what the permissions should be?

I know nothing about command line, but . . . is it possible the command should have been:

sudo cp libshp.a /usr/local/lib/libshp.a

instead of

sudo cp libshp.a /usr/local/lib

?


On Sep 17, 2010, at 11:43, Curt, WE7U wrote:

On Fri, 17 Sep 2010, T Wegner wrote:

-rw-r--r--  1 root  admin  63440 Sep 16 21:05 lib

so I take it this means it's a file instead of a directory. Let me be perfectly honest here . . . I have no idea what I'm doing. lol

Correct.  It's a 63k file.  There shouldn't be a file there, but a
directory, so it will have to go.  Perhaps check the directions up
to this point to see where that was created and where things went
wrong.


Should I delete the lib file and make a lib directory here?

Yes, but check the directions to see what the permissions should be
and who the owner & group should be that own the directory.


Is there something in that lib file of importance and I should not delete?

Shouldn't be.  I've never seen a Unix/Linux box with a "lib" file
there.  It's always a directory.


Is it possible this could be a permissions or location problem?

Well, something got put into the file, but it most likely was
intended to go into the lib/ directory as a file.


Checked your link to the Mac Notes; have substantial time invested in the MacPorts method and would like to follow through with it until it works or my head is pounding . . . .

Rgr.  I'm not a Mac guy, so there's only so much direct help I can
give.  I'll help when I know an answer or two, and keep quiet
otherwise.

--
Curt, WE7U.                         <http://www.eskimo.com/~archer>
  APRS:  Where it's at!                    <http://www.xastir.org>
 Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"
_______________________________________________
Xastir mailing list
Xastir@lists.xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

_______________________________________________
Xastir mailing list
Xastir@lists.xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to