Learning the Mac OS X Terminal, Part 4
Pages: 1, 2, 3
Now while it's true we can perform the next step using any text editor, since you have the Developer Tools installed you have an even better tool for the job, the PropertyListEditor application, which you'll find in /Developer/Applications. So go ahead and open PropertyListEditor.
From the File menu, select Open, navigate to ~/Library/Application Support/Terminal, and open the streamripper.term file. Like plist files, the data in term files are arranged in a hierarchy with a "Root" level at the top. Clicking the Root level's disclosure triangle will expose the next level down, "WindowSettings." Disclose that level, and the "0" level below it and you'll then see the complete list of the term file’s properties, most of which will look familiar.
Next, scroll down to the "ExecutionString" line and double-click on its field in the "Value" column, which will select it for text entry.
Enter this string:
streamripper 205.188.234.36:8046 -d ~/Music/;open ~/Music/Japan-*;exit
And press Return to close that field. The string you entered is a single command line made of three commands, each separated by a semicolon. Joining commands in this way allows you to run commands sequentially (the next one running only when the previous has finished), just as if you entered them on three different lines. Therefore, the line you entered is equivalent to you first running Streamripper:
streamripper 205.188.234.36:8046 -d ~/Music/
and then once you've stopped the ripping, issuing this command:
open ~/Music/Japan-*
The open command opens the destination folder in the finder, allowing you to see your freshly ripped files. Since the destination folder is named for the "station" providing the stream, the pathname will, of course, be different for different stations. The * in the pathname is a wildcard character, letting you designate the directory by only its first few characters. Finally, the exit command terminates your shell session (always a good idea when you're done).
Now for the finishing touch. Scroll down to the "TerminalOpaqueness" line. This hidden setting allows you to set the window's transparency, which will give our window a realistic, glass-like appearance. The value you need to enter is the decimal equivalent of the desired percentage of opaqueness. The default setting of 1.0, then, results in a 100% opaque window. A good setting for our window will be .85, which will be just a bit transparent. Enter ".85" in the value field and press Return.
We're done with the term file and now only need to save it. From the File menu, select Save As and save the file with an appropriate new name (still appended with ".term") in the same directory as the original.
You might need to restart Terminal to see the file in your Library menu. Once it's there, select it and see your creation:
Finally, here are a few more points regarding term files and Streamripper that will help you make your own version of this file (and others):
|
Previously in the Series
Learning the Mac OS X Terminal: Part 1 Learning the Mac OS X Terminal, Part 2 |
- A term file, when double-clicked in the Finder, opens and runs in Terminal just as if you had selected it from the Library menu. You might want to paste a custom icon onto your file and put it in the Dock, Toolbar, or Favorites folder. Or, you could make a folder full of different Streamripper term files for different stations and put that in the Dock.
- Just as a
crontabcommand line can reference a shell script, so can the command line you add to your term file, allowing you to do just about anything with a term file. - Terminal also recognizes double-clickable "command files," which are plain text and hold just command lines and scripts, and are named with
.commandat the end. Opening a command file in Terminal will open a new default window in which to run the command. This differs from a term file, which specifies the properties of the window. You'll find more about command files here. - Each Streamripper session will require a good chunk of CPU attention. Depending on your machine, you probably don't want to run more than a couple of sessions at once.
- If you want to listen to the stream as you rip, add the
-r(relay) flag to the Streamripper command, like this: - Some stations don't send the meta-data needed to break the stream into individual song files. In these cases, Streamripper will rip to one long file.
- Not all Unix software installs on OS X as effortlessly as Streamripper. For hints on installing other packages, see this site.
streamripper 205.188.234.36:8046 -r -d ~/Music/
Then, open iTunes, select Open Stream from the Advanced menu, and enter this as the URL:
localhost:8000
With the procedures you've learned in this tutorial, you'll be able to take even more advantage of Mac OS X's Unix roots, as well as Terminal's unique capabilities. If you come up with any interesting term files of your own, feel free to share them in TalkBack.
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 58 of 58.
-
Perl Scripts
2006-01-09 14:52:13 Cruzapete [Reply | View]
I dont know if this is too late that it wont be answered. I will so much appreciate it if it can be treated and my problem solved.
I was a windows user but moved to Mac OS X. I have some perl scripts I run on MS-DOS cmd.exe but have been having problems running those scripts on Mac OS X terminal.
Is there any command used for running perl scripts or how do I go about it.
Thanks for responding.
Cruzapete -
Perl Scripts
2006-05-26 01:30:22 samueljenningshughes@yahoo.com [Reply | View]
The best method to use is, at the top of the scripts, write "#!/usr/bin/perl", which tells a terminal to execute this script using perl.
Next, you should open Terminal.app, which is in /Applications/Utilities.
Type "cd location-of-perl-script".
Then type "chmod a+x perl-script-filename" to make it executable.
lastly, to run the script, either type "perl perl-script-filename" or "./perl-script-filename", the latter if you added "#!/usr/bin/perl" to the top of the script. this is done of course in the Terminal.app, and in the directory of which the script is located.
-
os x terminal
2004-05-30 20:18:56 mkf [Reply | View]
I followed step-by-step the tutorial "Learning the Mac OS X Terminal, Part 4" to install streamripper. When I got to the point to install streamripper with this command, sudo make install - Installing streamripper, the installation stopped with this message: "make: ***No rule to make target 'Installing'. Stop." Please advice. Thanks in advance.
-
.term scripts
2003-10-26 22:57:12 anonymous2 [Reply | View]
Hi, I used the info in this tutorial to make many of my own windows. I'm having one great difficulty. I want to run lame and want to enter an execution string that will stop and allow input. i.e. lame --alt-preset standard /Users/mac/Music/{input} so that the terminal halts and allows me to enter the name of the wav or aiff file and the {output} file name.
I now this should be possible but I can't find the info anywhere. Thanks
-
echo $PATH
2003-02-26 00:23:31 anonymous2 [Reply | View]
i am not able to run streamripper form the cli unless i give the full path i.e %/usr/local/bin/streamripper
i noticed a couple of posts on this but no resolution , i know this is a simple matter of adding that directory to my users path i guess but am not sure how to do this.
other then that this is great.... i had to download the playlists from shoutcast then open them using pico to get the addy's but other then that its all good.
i added the the full path to streamripper to the .term file too and that seemed to work.
ciao
rommel
-
streamripper: Command not found.
2003-02-09 09:19:25 anonymous2 [Reply | View]
I'm having the same trouble as this other person. I tried to type rehash, but that didn't work. I used the echo $PATH command and here's what came up:/bin:/sbin:/usr/bin:/usr/sbin. Can someone help; I'm trying hard to learn this computer language they call UNIX. -
streamripper: Command not found. Try this...
2003-06-13 10:09:28 hypatio [Reply | View]
I had a similar problem. Rehash didn't do anything visible. I did manage to fix it, though. First off I added /usr/local/bin to my path by editing the .cshrc file in my home directory.
setenv PATH "${PATH}:/usr/local/bin"
save it and then type this at % prompt:
[computername:~] username% source .cshrc
[computername:~] username% rehash
[computername:~] username% streamripper
Usage: streamripper URL [OPTIONS]
.
.
Try that and see if it works. By the way, I have no idea why it would work. Or what source actually does. But I was told to do this after amending my path in .cshrc for another program.
-
Still Having Trouble
2003-02-07 14:14:00 anonymous2 [Reply | View]
Alright, I still can't get into StreamRipper. Rehash doesn't work. Chris, you out there?
-
Here it is
2003-02-07 11:37:28 anonymous2 [Reply | View]
/bin:/sbin:/usr/bin:/usr/sbin
Is that okay?
-
No it doesn't
2003-02-07 11:29:01 anonymous2 [Reply | View]
I typed in lowercase in the first place and that didn't work. Thanks but it still won't work
-
No it doesn't
2003-02-07 11:35:22 Chris Stone |
[Reply | View]
Let's see what directories are in your search path, then. What do you get by entering this?
echo $PATH
--Chris
-
No it doesn't
2003-02-07 11:28:52 anonymous2 [Reply | View]
I typed in lowercase in the first place and that didn't work. Thanks but it still won't work
-
Streamripper command help
2003-02-07 11:14:46 Chris Stone |
[Reply | View]
You neeed to type it in lower case:
streamripper
Does that work any better?
--Chris
-
Streamripper command help
2003-02-07 10:54:52 anonymous2 [Reply | View]
After installing Streamripper; I can't get to the directory by typing Streamripper. I tried the rehash command and it still doesn't work. Anyone? -
Streamripper command help
2003-02-07 11:14:53 Chris Stone |
[Reply | View]
You neeed to type it in lower case:
streamripper
Does that work any better?
--Chris
-
Terminal and color listings with ls
2003-01-15 12:53:12 anonymous2 [Reply | View]
Does anyone know how to set up terminal to display files and directories, etc in different colors when a "ls" is done?
-
shell --> library won't show my new file, help!
2002-08-23 10:20:21 isabellovesme [Reply | View]
I followed the instructions... but I can't access the library from the shell menu. What should I do?
-
Developer tools
2002-08-04 10:41:18 royland [Reply | View]
I went to the Apple Developer Centre but could not find just where to download "Disk Image". Is it in fact the whole 200Mb odd Developer Kit file? I couldn’t do it on a dial-up and not when we pay for local calls.
My installation disks are available but not at hand. Is there one there?
Roy
-
./configure
2002-08-04 10:37:24 royland [Reply | View]
I as far as the "./configure" command andf then it does not want to execute, gives the following:
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
-
Clock Error
2002-06-17 16:13:30 comdico [Reply | View]
I'm getting the following error when I try the make command: make[1]: warning: Clock skew detected. Your build may be incomplete.
Any ideas?
-DC
-
Terminal prompt - quick question
2002-05-19 06:12:27 audiophyle [Reply | View]
Ever since I signed up to a new ISP with static IPs, my prompt has changed from [localhost:~] dan% to [<ISP username + part of IP address>:~] dan%, where the stuff inside the brackets would be something like darwinfreak182 if "darwinfreak" was my ISP username, and 111.111.111.182 was my static IP address. What is the reason for this, and will it affect anything in the terminal?
-
streams & the .pls file
2002-05-10 11:46:36 lilnemo [Reply | View]
If you have trouble coming up with IP's simply download the .pls file; open it up with TextEdit. From there it should provide you with several ip's that the music streams from. Copy paste into the plist & enjoy! -
IP trouble in www.live365.com, no .pls files, unix?
2002-05-11 17:12:18 psheldon [Reply | View]
But, thanks. That pls file contains IP's might be good on other broadcast sites than iTunes source.
iTunes doesn't always give machine numbers. It doesn't give them for its own channels, but if I find them on shoutcast, and have IE launch iTunes playing, it will show the numbers (get info dialogue's edit url... button).
You can copy the long url and open stream or paste in IE to open stream and you'll get an editable url that might be shorter, but not a number.
Is there unix program to get IP like readme says winamp and xmms? -
www.live365.com .pls files revealed in finder by download mgr
2002-05-11 18:00:44 psheldon [Reply | View]
had no machine numbers and ? after last number with long string (script?). The constructed term file with the #IP crashed terminal.
But, pls files seem to be a generality.
There are more IP's in the readme...
Oh boy!
-
iTunes redirects shoutcast searches from where
2002-05-10 09:23:54 psheldon [Reply | View]
iTunes url button greyed and disabled.
Get name of broadcast station.
Put station in shoutcast search.
Click on button don't control click.
Look in iTunes library.
Command i finds edit url enabled and finally
Copy number into a term.
-
streaming lectures anywhere?
2002-05-09 21:15:56 psheldon [Reply | View]
I wonder whether universities have live streams of lectures. I found a Hawking "Universe in a Nutshell" lecture but it wasn't streamed; I could simply download it.
-
I did this with the latest May 2002 dev tools cd
2002-05-09 21:13:27 psheldon [Reply | View]
Apple was worried about the gcc3 being buggy, but I like to learn lessons and maybe help, so except that I got to search Bossa Nova mp3 streams not on the page given, cool.
Me unix geek hormones is rising too, so thanks.
-
woke up and I'm a unix napster
2002-05-09 21:01:42 psheldon [Reply | View]
What I found of my favorite, the bossa nova, is something that doesn't have meta information for track ends. I might try tuning into others.
Alot of my favorite places are gone from Radio Tuner. But, are they really gone?
I'm saving those addresses in other folders or term files in the future! You tune in and then command i and a url button gets you the thing to put into a term file.
-
?IP and port Number
2002-04-28 06:40:36 wguyette [Reply | View]
Installed Streamripper, as a learning experience-great article. Using the example IP and port numbers, everything worked fine.
When I control-click on a "Tune-In" link on shoutcast I got:
http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=1890&file=filename.pls
No IP or port number.
Also, I guess I just don't get something. If you have to know the IP address in advance, isn't this a lot of work, as well as being nonspecific. ie. you can get a stream, but what you get is sort of random, no specific songs.
I must be missing some basic concept.
Bill -
?IP and port Number
2002-05-09 21:05:17 psheldon [Reply | View]
A simple click, not control click, buys iTunes launching and playing a selected new radio station track in library. Command i buys a dialogue and then a url button gets the number for you to paste.
That's what you and the author may have missed. Did you see anything else likely on that control contextual menu more likely than a copy?
-
Can't connect to stream
2002-04-16 12:42:12 raynerc [Reply | View]
I'm using the StreamCatcher version of this and can't connect to any URL, even with iTunes shut down and firewall disabled. Do I have to do something in NetInfo to specify the port number through which streamripper should connect?
-
color coding in emacs?
2002-04-08 15:00:42 mcginniwa [Reply | View]
Most of the time when I'm using the term app, I'm actually logged into another machine and running emacs to get some programming done. The one thing that I haven't been able to figure out is how to use color coding (where text that serves different purposes, like the shell prompt vs commands, have different colors) from within the term app or emacs either for a local or a remote session.
I do know how to add it to my ~/.emacs file on other Unix machines, though.
Any clues?
Walter
-
PLEASE, get the DECEMBER Dev Tools and update!
2002-04-08 14:52:46 mcginniwa [Reply | View]
I just read through the comments on this article and several people are having problems. Chris Stone mentions that you should have Dev Tools installed and also says that there is a December Dev Tools distribution available from connect.apple.com (free registration required)!
If you are having problems, don't just reinstall the Dev Tools that you have on cd-rom. Get the latest (one big download and install and then a smaller update). Hopefully this will help, but even if it doesn't everyone will be on working off the same page.
Good luck,
Walter
-
An Idea
2002-04-07 05:12:12 tsull [Reply | View]
Great article Chris. I was wondering if there's a way to pass a parameter to the execution string? This would allow you to open a terminal window with your favorite editor and enter the filename to edit.
-
Configuration problems - why no solution?
2002-04-06 12:27:25 rberg [Reply | View]
Hi:
For me one of the biggest hurdles with OSX is trying to figure out what makes it tick.
I used the traditional MacOS since before the days of "multifinder", i.e., for a long time. For the most part I know how to deal with problems with OS 9.
With OSX, not being a Unix geek, everything is new and different and trying to find answers to problems to less than easy. Take the configuration problem which rears it ugly head when typing ./configure in this tutorial. I have reinstalled the Dev Tools disk twice and I have manually unpacked the streamripper files and I have checked the permissions on the /usr/local/bin directory, and still I cannot compile the streamripper files.
So, what is the solution? Reinstall the OS? I suspect that would work, but that is about an ungratifying "solution" as there is. I want to understand what the problem is and not cover it up by reformatting and reinstalling. I used to make fun at my Windoze friends, since they would spend their Saturdays re-installing their OS. Well, I sure as heck don't want to be in that position!!!
So what is this configuration problem all about?
And if Apple doesn't do something to help take the mystery out of this OS, they will have some disgusted users out there and I will be one of them. -
Configuration problems - why no solution?
2002-04-06 17:35:03 Chris Stone |
[Reply | View]
I believe this is an issue with the older version of theDev Tools. Have you tried again yet with the current December version? It's a free download (albeit huge) from connect.apple.com
There are actually two downloads, the large original disk image, and a smaller update to that December Dev Tools package.
Let us know how it goes...
--Chris
-
running a perl script
2002-04-05 05:33:30 bradrice [Reply | View]
I have a perl script that runs a continuous loop of watching a folder and acts upon data that is written to it. Do I have to leave a terminal open dedicated to that script? I have used ^c to break into the window, but it seems to shut down the script. I have put it in the background but it comes back to the fore when it acts on the data.
-
Configuration Problems: A possible solution
2002-04-03 23:07:28 kwidholm [Reply | View]
Some of you may be having configuration and make problems due simply to not working in the right directory. Mr. Stone's article does not mention this explicitly, but you MUST be doing your configuring, making, and installing from a directory which is owned and read/writable by you.
I was having problems with the configure and install, until I realized I was still working in the /usr/local/bin directory (I went there to check on what was in those directories, then used curl from the command line to get the source code right into the directory, and never returned to the desktop--the directory Mr. Stone's article assumed as a basis for the work in the article.
So, just as a subtle but important point: If you are having problems, make sure you are in a directory owned and read/writable by you.
Also, if you are having Stuffit Expander unpack the source code for you, make sure you have version 6.5 or later, as earlier versions sometimes messed up long file names in UNIX archives.
klktrk
-
Keep 'em Coming
2002-04-03 14:04:17 remaley [Reply | View]
Chris,
I hope you plan to continue this series, it's been very helpful. Apple used to say upgrading your OS was like getting a whole new computer, but now it's true!
-
Perfectly described
2002-04-03 00:15:15 runediva [Reply | View]
I am 57 years old, swedish man, I have always been interested in computers. But that is not my job.
I have learned a lot in these pages about Terminal, Apache and MySQL. Everything is so easy to understand and to manage. This article was especially good, I am listening to iTunes very often, but after a couple of days I have heard most of the music. No I have the possiblity to listen the newer music and at the same time I will have the possibility to burn some new CD's. At the same time I can handle my ordinary job.
Thank you very much!
-
Another good one!
2002-03-29 17:38:49 tomp2002 [Reply | View]
Thanks for yet another great installment, always so well illustrated, article on use of the Terminal. Most appreciated!
-
Addendum -- /usr/local/bin
2002-03-28 10:42:39 Chris Stone |
[Reply | View]
It's possible that your system does not yet have the /usr/local/bin directory that streamripper's install script looks for, so you'll need to first create it:
First, go to /usr/local:
[localhost:~] chris% cd /usr/local
Check its contents for bin:
[localhost:/usr/local] chris% ls sbin
If it's not there, make it as root (with sudo):
[localhost:/usr/local] chris% sudo mkdir bin
Check again that it's there:
[localhost:/usr/local] chris% ls
bin sbin
However, if you've already run streamripper's install script (with "make install"), it probably installed streamripper into /usr/local and renamed that streamripper binary *file* to "bin". If so, when you do a long list, you'll see that "bin' is a file (it has a hyphen instead of a "d" at the beginning of its line):
[localhost:/usr/local] chris% ll bin
-rwxr-xr-x 1 root wheel 347892 Mar 28 10:27 bin
If this is the case, you'll need to remove that file first :
[localhost:/usr/local] chris% sudo rm bin
And then follow the step above to make a "bin" directory. You can then run the "make install" command line again without problem.
Also, if you've installed streamripper, but typing its name still doesn't find the application, type "rehash", which will force the shell to rebuild its list of known executables.
Sorry for the confusion!
--Chris
-
Addendum -- /usr/local/bin
2002-03-28 15:56:05 Chris Stone |
[Reply | View]
These steps have now been added to the article. (or at least a much simpler version of them :-)
--Chris -
Addendum -- /usr/local/bin
2002-03-28 13:39:13 network23 [Reply | View]
Still not solved. I really hate knowing so little about this stuff that I can't even effectively troubleshoot simple stuff!
Re the other message: which cc returns /usr/bin/cc
I do have a bin directory. When I enter ls sbin (why sbin and not bin?) it says I don't have sbin.
ls returns...
bin include lib samba share
ls sbin returns...No such file or directory.
ll returns this...
drwxr-xr-x 7 root wheel 194 Sep 26 2001 .
drwxr-xr-x 10 root wheel 296 Sep 2 2001 ..
drwxr-xr-x 30 root wheel 976 Jan 29 10:43 bin
drwxr-xr-x 3 root wheel 264 Sep 26 2001 include
drwxr-xr-x 4 root wheel 264 Sep 26 2001 lib
drwxr-xr-x 9 root wheel 264 Apr 20 2001 samba
drwxr-xr-x 3 root wheel 264 Apr 1 2001 share
but ll bin returns this (truncated for length)
total 972
drwxr-xr-x 30 root wheel 976 Jan 29 10:43 .
drwxr-xr-x 7 root wheel 194 Sep 26 2001 ..
lrwxr-xr-x 1 root wheel 33 Jan 29 10:43 addtosmbpass -> /usr/local/samba/bin/addtosmbpass
lrwxr-xr-x 1 root wheel 38 Jan 29 10:43 convert_smbpasswd -> /usr/local/samba/bin/convert_s
mbpasswd
-rwxr-xr-x 1 rmartin staff 207208 Mar 9 2001 df
-rwxr-xr-x 1 rmartin staff 174612 Mar 9 2001 dircolors
-rwxr-xr-x 1 rmartin staff 204092 Mar 9 2001 du
-rwxr-xr-x 1 rmartin staff 303720 Mar 9 2001 ls
lrwxr-xr-x 1 root wheel 36 Jan 29 10:43 make_printerdef -> /usr/local/samba/bin/make_printe
rdef
lrwxr-xr-x 1 root wheel 37 Jan 29 10:43 make_smbcodepage -> /usr/local/samba/bin/make_smbco
depage
lrwxr-xr-x 1 root wheel 36 Jan 29 10:43 make_unicodemap -> /usr/local/samba/bin/make_unicod
emap
lrwxr-xr-x 1 root wheel 25 Jan 29 10:43 nmbd -> /usr/local/samba/bin/nmbd
lrwxr-xr-x 1 root wheel 30 Jan 29 10:43 nmblookup -> /usr/local/samba/bin/nmblookup
-rwxr-xr-x 1 root wheel 1591 Sep 26 2001 pear
-rwxr-xr-x 1 root wheel 474 Sep 26 2001 php-config
-rwxr-xr-x 1 root wheel 593 Sep 26 2001 phpextdist
Why such an apparently different list of files.
Anyway, it appears that I have bin and it is a directory. As you can probably tell, I installed Samba at one point, if that makes a difference. -
Addendum -- /usr/local/bin
2002-03-28 15:53:57 Chris Stone |
[Reply | View]
Actually , this addendum was not meant to address your compile issue, so if you have a /usr/local/bin directory, you're all set as far as that's concerned.
Have you tried re-installing the most recent Dev Tools?
--Chris -
Addendum -- /usr/local/bin
2002-04-02 07:03:34 network23 [Reply | View]
Have you tried re-installing the most recent Dev Tools?
All I've installed is the Dev Tools that came on the CD that came with my G4. -
Addendum -- still no compile!
2002-03-31 22:22:38 rberg [Reply | View]
I am also still having problems.
(1) When I try ./configure from the streamripper directory I get: loading site script /usr/local/etc/config.site
loading cache ./config.cache
checking for gcc... /usr/bin/gcc --traditional-cpp
checking whether the C compiler (/usr/bin/gcc --traditional-cpp ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
(2) /usr/local/bin exists as a directory (with many entires) with is owned by root and group wheel.
(3) I have reinstalled developer tools from the CD ver 10.1 September 2001. My system version is 10.1.3
What do I try next?
What exactly does the error message mean?
-
Fixing configure problems
2002-03-28 01:24:13 oreillynet20000 [Reply | View]
I haven't tried this with streamripper, but normally you can fix configure problems by copying the Apple-provided /usr/libexec/config.* files (I think it's config.guess and config.sub) to your source directory. This will then ensure configure picks up the correct defaults for compiling on Mac OS X & Darwin. -
Fixing configure problems
2002-03-28 10:50:09 Chris Stone |
[Reply | View]
Thanks for this hint, iabbot. While this does help with installing some Unix software, it shouldn't be necessary with streamripper. I've tested the installation on a freashly installed OS X machine with just the Dev Tools installed, and the install compile went perfectly. As per my addendum, I did need to add the /usr/local/bin directory to allow the install.
I can only reccomend that those of you having problems with the compile, make sure that typing "which cc" returns "/usr/bin/cc" . If it doesn't you should re-install the Dev Tools.
--Chris
-
Configuration Problem here too!
2002-03-28 00:14:55 rberg [Reply | View]
Upon trying ./configure I also get:
loading site script /usr/local/etc/config.site
loading cache ./config.cache
checking for gcc... /usr/bin/gcc --traditional-cpp
checking whether the C compiler (/usr/bin/gcc --traditional-cpp ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
So, just what is the problem?
-
How to fix configuration problem?
2002-03-27 13:22:15 network23 [Reply | View]
I've installed the Developer's CD in the past, but when I tried teh ./configure command, I get this info...
loading cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
I then tried reinstalling the Dev CD and nothing has changed. Don't know what to try next. Any suggestions?






http://avilac.at/marco/?p=3