|
|
#1 |
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
tar tvf
Can anyone suggest a way I can workaround the error here, please?
server:~ brian$ tar tvf /Users/brian/Downloads/ac1ee0cf4ef9.tar.cpgz drwx------ 13 501 20 0 May 3 08:05 . -rw-r--r-- 1 501 20 1021114 May 3 08:05 ./ac1ee0cf4ef9.tar -rw-r--r-- 1 501 20 193 May 3 08:05 ./._ac1ee0cf4ef9.tar server:~ brian$ tar tvf /Users/brian/Downloads/ac1ee0cf4ef9.tar tar: Unrecognized archive format tar: Error exit delayed from previous errors. server:~ brian$ Brian in Atlanta |
|
|
|
|
|
#2 |
|
MVP
Join Date: May 2004
Posts: 2,013
|
What's the output of:
file /Users/brian/Downloads/ac1ee0cf4ef9.tar.cpgz And, have you tried opening the file from the Finder? Worst case, you could download The Unarchiver. |
|
|
|
|
|
#3 |
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
Downloaded file again
I elected to download the file again. I then realized that the name of the downloaded file has only the .gz ending until I try to open it, and then the ending becomes the earlier .cpgz .
So now I tried the following unzip with this error. Any ideas would be appreciate. Brian in Atlanta server ownloads brian$ gunzip /Users/brian/Downloads/ac1ee0cf4ef9.tar.gz gzip: /Users/brian/Downloads/ac1ee0cf4ef9.tar.gz: not in gzip format server ownloads brian$
|
|
|
|
|
|
#4 |
|
League Commissioner
Join Date: Jan 2002
Posts: 7,998
|
If the file is not in the gzip format, then perhaps the file is either a bad file (corrupted, or just improperly made) - or not what it appears to be.
Try The Unarchiver on that file. http://unarchiver.c3.cx/ Or - provide a download link, so we could take a look at that file. What is its purpose? |
|
|
|
|
|
#5 |
|
League Commissioner
Join Date: Sep 2003
Location: Tokyo
Posts: 6,057
|
The -z option in tar only works with gzip compression. Yours is cpgz - a brief search reveals it is a CPIO compression format.
Remove the compression, then try again without the 'z' option |
|
|
|
|
|
#6 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
Thanks for the offer. The link is as follows. http://en.verysource.com/imap-4-7-ta...nload-613.html The purpose is to get source code for some files I need to compile Alpine, a text mail client for Lion. Last edited by Brian Schott; 05-06-2012 at 08:06 AM. Reason: for got to answer a question |
|||||||||||||||||||||||
|
|
|
|
|
#7 |
|
League Commissioner
Join Date: Sep 2003
Location: Tokyo
Posts: 6,057
|
Requires registration.
You're being very ambitious - both running your own mail server AND getting the software from a freeware source in China. Question: do you have any experience installing Unix command-line packages? DNS? Server administration? Afterthought: since you already have a Mac Mini Server, why are you trying to install software that came with the box and is all set up and ready to go? Last edited by acme.mail.order; 05-06-2012 at 08:53 AM. |
|
|
|
|
|
#8 |
|
Major Leaguer
Join Date: Jan 2002
Location: Midwest Not quite Normal
Posts: 407
|
__________________
I have a Reason2 not be grumpy now if only I had a Rosegarden that worked. Willy |
|
|
|
|
|
#9 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
I didn't realize I was getting the software from a Chinese site. I am not trying to create my own mail server. Rather, I am trying to install pine on my new computer so that I can use it as a mail client. I use Gmail as a web based e-mail service but I have a Pop connection to my old computer with pine on it. I want to have the same system on my new Mac Mini, but pine is not available in Lion. The open source for Alpine does not seem to include all of the files that are in includes. I sent a message like the one below to the maintainer of the source code, but have not received a reply. So I am looking myself for these files. "I am now confronted by a list of .h files which do not seem to appear in the tar package anywhere, and Ione wondering if you have any suggestions. The files all appear next to one another in os_ mac.h: #ifndef noErr #include <Desk.h> #include <Devices.h> #include <Errors.h> #include <Events.h> #include <Fonts.h> #include <Memory.h> #include <Menus.h> #include <ToolUtils.h> #include <Windows.h> #endif" |
|||||||||||||||||||||||
|
|
|
|
|
#10 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
When I go to the "real" source and try to compile in the simple way that they suggest (instead of using Xcode ) I get the following error messages. Do you have any suggestions. server:alpine-2.00 brian$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-apple-darwin11.3.0 checking host system type... i686-apple-darwin11.3.0 configure: Configuring for alpine 2.00 (i686-apple-darwin11.3.0)) checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. server:alpine-2.00 brian$ Brian in Atlanta |
|||||||||||||||||||||||
|
|
|
|
|
#11 |
|
Triple-A Player
Join Date: May 2008
Location: Down by the river
Posts: 195
|
Do you have a C compiler installed?
|
|
|
|
|
|
#12 |
|
Major Leaguer
Join Date: Jan 2002
Location: Midwest Not quite Normal
Posts: 407
|
Well here's the Pine/Alpine software source.
http://www.washington.edu/alpine/ Maybe you should think about using Fink or MacPorts or another open source port for the Mac. Do you already have Xcode installed?
__________________
I have a Reason2 not be grumpy now if only I had a Rosegarden that worked. Willy |
|
|
|
|
|
#13 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
Objective-C is hidden in Xcode, isn't it? |
|||||||||||||||||||||||
|
|
|
|
|
#14 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
Yes, and I have corrected a few compile errors, but I don't know how to correct the missing includes. |
|||||||||||||||||||||||
|
|
|
|
|
#15 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,956
|
Yes - only experts (or those desperate to get the absolute latest version) should be trying to compile open source code on their own. Fink or MacPorts make it much easier.
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
|
|
#16 | |||||||||||||||||||||||
|
MVP
Join Date: Apr 2008
Location: Berkeley CA USA
Posts: 1,016
|
Those are all very old Carbon headers. (Actually, they pre-date even Carbon.) For backward compatibility, they are available through Xcode, which you will have to install. Installing Xcode also installs the compilers you're going to need. You'll probably also have to link with Carbon (/System/Library/Frameworks/Carbon.framework), which isn't actually something you can link with until you've installed Xcode. (Until you install Xcode, all the frameworks in /System/Library/Frameworks contain only headers. Xcode fleshes them out by adding the object files the linker needs.) |
|||||||||||||||||||||||
|
|
|
|
|
#17 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
Carbon.framework in Xcode4
I have Xcode installed. I am using Matt Neuburg's iOS4 book. Regarding adding Frameworks he says that I should "... put this line near the start of your implementation file." #import <Carbon/Carbon.h> The path for the file containing the includes is as follows. From the path can you tell what is the correct "implementation file" Neuburg means? I have tried putting the import into os_mac.c, but that does not seem to work. /Users/brian/Desktop/pine/pine/alpine-2.00/imap/src/osdep/mac/os_mac.h I have also linked the Carbon framework to the target by adding the framework in the Build Phases. But I am still getting the same Preprocessor Issue(s): 'Desk.h' file not found Btw, I have not been able to verify that the files I listed are in the Carbon.Framework. How might I do that? Thanks very much for this information about Carbon.Framework. Brian in Atlanta |
|||||||||||||||||||||||
|
|
|
|
|
#18 | ||||||||||||||||||||||||||||||||||||||||||||||
|
Moderator
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,560
|
These two statements would seem to contradict each other, but maybe you just don't have your PATH set properly. Can we see the results of: ls -al /Developer/usr/bin/gcc* echo $PATH echo "done" Trevor
__________________
How to ask questions the smart way |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#19 |
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
My search for these header files lead me to the help in Xcode. When I entered the header for toolutils I was sent to the coreservices framework docs. However, when I linked up the coreservices framework I still got the same message.So maybe I am linking up in the wrong implementation file ( in the imap section of the source tree). Do I need to do the linking somewhere else?
On the other hand, I am not interested in using the imap service. Is it likely that I can just not include the IMAP part of the source code? Is it likely that I can figure out how to do this in code that is probably so complex? Brian in Atlanta |
|
|
|
|
|
#20 | |||||||||||||||||||||||
|
Triple-A Player
Join Date: Jun 2005
Posts: 86
|
Trevor, I think you have discovered a big problem: there is no such directory on my Mini. There was a /Developer directory on my older Mac. Do I need to download it from Apple now, somehow? I have Xcode 4.3.2 (4E2002) already installed. What's wrong? server:~ brian$ ls -al /Developer/usr/bin/gcc* ls: /Developer/usr/bin/gcc*: No such file or directory server:~ brian$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin server:~ brian$ echo "done" done server:~ brian$ Thanks, Brian in Atlanta |
|||||||||||||||||||||||
|
|
|
![]() |
| Tags |
| tar |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|