Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-25-2003, 02:14 PM   #1
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
linux compile/configure gurus

how can I get past this ?

configure:2106: checking if compiler supports -R
configure:2121: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2114 "configure"
#include "confdefs.h"

int main() {

; return 0; }
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-25-2003, 02:15 PM   #2
fsfaz
Confirmed User
 
Join Date: Apr 2003
Location: Hollyweird, CA
Posts: 747
huh? More info dude.
fsfaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-25-2003, 02:33 PM   #3
Rorschach
So Fucking Banned
 
Join Date: Aug 2002
Posts: 5,579
Looks like maybe a dud makefile... but more info needed.
Rorschach is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-25-2003, 02:42 PM   #4
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
php 4.3.4 configure
the part above is from the config.log

not really sure what other info you need.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-25-2003, 02:56 PM   #5
AgentCash
Confirmed User
 
Join Date: Feb 2002
Posts: 720
From http://us2.php.net/oci8

Quote:
I installed Oracle 8.1.7 client, mod_php (4.2.2, as DSO) on a RedHat 7.1 (Seawolf) and among others encountered the "cannot find -lclntsh" problem during making. But the already suggested "shared,{$ORACLE_HOME}" solution didnt work for me.
I finally found a solution:

Usually, the linker (ld) complains, that it can't find the clntsh .so / .a files, but they were present (check in the lib dir of $ORACLE_HOME if present, if not execute ../bin/relink as user Oracle and check what the error message says).

As I backtraced the incident, I found in the configure.log file the following lines:

configure: 2842 gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
gcc: unrecognized option '-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status

It turned out, that in the ./configure script it is checked, wether the compiler supports the -R option.
However, after I commented the lines responsible for this check and told the script, that my compiler wont support "-R" and as well doesnt need to check, after a make clean and ./configure it actually could be compiled.

You can find the lines I commented by searching for the regexp check.*-R. Comment from there till the next "else" and a "fi" a few lines below. Good Luck!

Josef Irnberger
AgentCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-25-2003, 05:42 PM   #6
crack
Confirmed User
 
Join Date: Feb 2002
Posts: 100
Just ignore it, configure will go on, here's my log
(php-4.3.4, kernel 2.4.22)

configure:1963: gcc -c conftest.c -o conftest.o 1>&5
configure:1968: cc -c conftest.c 1>&5
configure:1970: cc -c conftest.c -o conftest.o 1>&5
configure:1971: cc -c conftest.c -o conftest.o 1>&5
configure:1998: checking how to run the C preprocessor
configure:2019: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2079: checking for AIX
configure:2106: checking if compiler supports -R
configure:2121: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2114 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2139: checking if compiler supports -Wl,-rpath,
configure:2154: gcc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib 1>&5
configure:2180: checking for re2c
configure:2211: checking for ranlib
configure:2239: checking whether ln -s works
configure:2264: checking for gawk
configure:2298: checking for bison
configure:2332: checking bison version
configure:2342: checking for flex
configure:2376: checking for yywrap in -lfl
configure:2395: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2419: checking lex output file root
configure:2440: checking whether yytext is a pointer
configure:2459: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
configure:2483: checking for working const
configure:2537: gcc -c -g -O2 conftest.c 1>&5
...............
__________________
There is a crack in everything. That's how the light gets in.
crack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.