Question

install rar in linux

Asked by: wuyinzhi

dear all,

i'm using rar_open() function and running well at localhost (using Windows XP and XAMPP), but when i try at server, it returns error:

Fatal error: Call to undefined function rar_open()

i have debian + LAMPP installed in server.
i guess this is config issue or no rar installed in server. any solution (prefer step by step since i'm not really familiar with linux) to solve this problem?




This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-07-14 at 20:38:33ID23564943
Tags

Fatal error: Call to undefined function rar_open()

Topics

Apache Web Server

,

PHP Scripting Language

Participating Experts
2
Points
200
Comments
26

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. .rar extension
    what type of files are .rar extension and how to extract them
  2. Compression better than rar
    I need to store very large and very important files :) How can I do it and control it via my soft? The encryption and compressing really must be strongest. It rumors there’s a way to compress better than rar or zip – is it possible?
  3. Unpacking .rar file with Slackware
    In bash, how do you unpack a .rar file. I'm using Slackware 10? Thanks
  4. RAR in Linux (Fedora?)
    Where could I find a RAR application for Linux (Fedora). Thank you.
  5. Rar 3.0 download
    Where can I download Rar 3.0?
  6. error extract rar in PHP
    dear experts, i have these codes: <?php /* example by Erik Jenssen aka erix */ $filename = "test.rar"; $rar_file = rar_open($filename); $list = rar_list($rar_file); foreach($list as $file) { $entry = rar_entry_get($rar_file, $file); $entry->extra...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: wuyinzhiPosted on 2008-07-14 at 22:56:13ID: 22004412

i've tried:

1. edit php.ini
    extension=rar.so

2. run this command

gunzip rar-xxx.tgz
tar -xvf rar-xxx.tar
cd rar-xxx
phpize
./configure && make && make install

but i got error in phpize. command not found

 

by: sakuya_suPosted on 2008-07-15 at 00:55:11ID: 22004874

did you actually install the php rar extension?

type in console php -i | grep rar and post the return here

if you do not have the extension installed I think you need to install it as a part of the PECL Repository.

So you need to install the pecl php package, which you will probably need to hunt down from the pecl website? I am on a RPM based system and I have the pecl package in repository. An google search suggests you need to get the dh-make-php package then run that and install php.

Anyway once you have got PECL working you can just run the commaond pecl -install rar in the console

 

by: sakuya_suPosted on 2008-07-15 at 00:57:32ID: 22004878

And it seems your method does work.. I just had a look on mine..

You mentioned that you get phpize command not found, if so then install the php-devel package and try again :)

 

by: wuyinzhiPosted on 2008-07-15 at 01:29:44ID: 22005005

i type from /opt/lampp/bin# php -i | grep rar
then it returned command not found.

same thing with pecl -install rar

i will try install php-devel package later after i download it, thanks for your guidance so far, i will show the result as soon as possible.

 

by: sakuya_suPosted on 2008-07-15 at 01:32:40ID: 22005019

your php is installed.. isnt it? sounds like you are missing the CLI of php, shouldnt affect the installation of php-devel though, so try that

 

by: wuyinzhiPosted on 2008-07-15 at 01:46:37ID: 22005078

yes i can assure my php is installed, my PHP script is running well except this rar_open part.

 

by: wuyinzhiPosted on 2008-07-21 at 01:59:49ID: 22048879

dear again all, i have my phpize installed. then i try these steps from linux command prompt:

1. gunzip rar-xxx.tgz
2. tar -xvf rar-xxx.tar
3. cd rar-xxx
4. /opt/lampp/bin/phpize
5. ./configure && make && make install

in step 4: it return error:

grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

if i try this command:

/opt/lampp/bin/php -i|grep rar

then it returns:

include_path => .:/opt/lampp/htdocs/library => .:/opt/lampp/htdocs/library
iconv library version => 2.3.6
Ming SWF output library => enabled
Library version => FreeTDS
Client API library version => 5.0.51a
ncurses library version => 5.3
PCRE Library Version => 7.3 2007-08-28
PDO Driver for MySQL, client library version => 5.0.51a
SQLite Library => 3.3.17
SQLite Library => 2.8.17
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
PWD => /opt/lampp/htdocs/editorial/test/rar-1.0.0
_SERVER["PWD"] => /opt/lampp/htdocs/editorial/test/rar-1.0.0
_ENV["PWD"] => /opt/lampp/htdocs/editorial/test/rar-1.0.0

any advice what i should do?


 

by: sakuya_suPosted on 2008-07-21 at 02:02:41ID: 22048890

did you install the php devel packages? you are missing the php headers, also see if you have zend devel

 

by: wuyinzhiPosted on 2008-07-21 at 21:37:57ID: 22056491

can you provide link to download php devel package that suit for my php/OS? i'm using debian, PHP/5.2.5. Sorry because i'm a little bit confuse searching the package. thanks a lot.

 

by: sakuya_suPosted on 2008-07-21 at 22:41:35ID: 22056664

install the php-devel package from apt using apt-get, you do not download packages from somewhere else usually

 

by: wuyinzhiPosted on 2008-07-21 at 23:47:48ID: 22056875

thanks,

i run this command: apt-get install rar

it returns:

Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  unrar
The following NEW packages will be installed:
  rar
0 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.
Need to get 506kB of archives.
After unpacking 1036kB of additional disk space will be used.
Get:1 http://kambing.ui.edu etch/non-free rar 1:3.7b1-2 [506kB]
Fetched 506kB in 14m44s (572B/s)
Selecting previously deselected package rar.
(Reading database ... 21698 files and directories currently installed.)
Unpacking rar (from .../rar_1%3a3.7b1-2_i386.deb) ...
Setting up rar (3.7b1-2) ...

then i restart apache, try to run my script, it still return error message:

Fatal error: Call to undefined function rar_open()

then i run command: /opt/lampp/bin/phpize

it returns:

grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

what should i do now? thanks a lot.

 

by: sakuya_suPosted on 2008-07-22 at 00:30:09ID: 22057037

you need to apt-get php-devel and then follow the installation for rar extension.

 

by: wuyinzhiPosted on 2008-07-22 at 17:16:15ID: 22064919

what is the command? i try apt-get install php-devel and it returns couldn't find package php-devel. what should i do next?

 

by: sakuya_suPosted on 2008-07-22 at 17:20:36ID: 22064953

apt-get install php-dev

or one of the following:

apt-get install php5-dev
apt-get install php4-dev (!!ONLY if you are using php4!!)

 

by: wuyinzhiPosted on 2008-07-23 at 21:47:49ID: 22076156

hi, i have run

apt-get install php5-dev

the result as display at code snippet.
what should i do next? i still cannot use rar function

maen:~# apt-get install php5-dev
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  autoconf automake1.4 autotools-dev binutils cpp cpp-4.1 gcc gcc-4.1 libc6
  libc6-dev libc6-i686 libssl-dev libssl0.9.8 libssp0 libtool
  linux-kernel-headers php5-common shtool zlib1g-dev
Suggested packages:
  autoconf2.13 autobook autoconf-archive gnu-standards autoconf-doc
  binutils-doc cpp-doc gcc-4.1-locales make manpages-dev automake1.9 flex
  bison gdb gcc-doc gcc-4.1-doc libc6-dev-amd64 lib64gcc1 lib64ssp0 glibc-doc
  libtool-doc g77 fortran77-compiler gcj automake
Recommended packages:
  automaken libmudflap0-dev libltdl3-dev
The following NEW packages will be installed:
  autoconf automake1.4 autotools-dev binutils cpp cpp-4.1 gcc gcc-4.1
  libc6-dev libssl-dev libssp0 libtool linux-kernel-headers php5-common
  php5-dev shtool zlib1g-dev
The following packages will be upgraded:
  libc6 libc6-i686 libssl0.9.8
3 upgraded, 17 newly installed, 0 to remove and 60 not upgraded.
Need to get 18.3MB/22.9MB of archives.
After unpacking 50.1MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://kambing.ui.edu etch/main libc6 2.3.6.ds1-13etch5 [4703kB]
Err http://kambing.ui.edu etch/main libc6 2.3.6.ds1-13etch5
  Error reading from server - read (104 Connection reset by peer)
Get:2 http://kambing.ui.edu etch/main libc6-i686 2.3.6.ds1-13etch5 [1119kB]
Get:3 http://kambing.ui.edu etch/updates/main libssl0.9.8 0.9.8c-4etch3 [2717kB]
Get:4 http://kambing.ui.edu etch/main autoconf 2.61-4 [448kB]
Get:5 http://kambing.ui.edu etch/main automake1.4 1:1.4-p6-12 [272kB]
Get:6 http://kambing.ui.edu etch/main cpp-4.1 4.1.1-21 [2331kB]
Get:7 http://kambing.ui.edu etch/main gcc-4.1 4.1.1-21 [461kB]
Get:8 http://kambing.ui.edu etch/main libc6-dev 2.3.6.ds1-13etch5 [2717kB]
Get:9 http://kambing.ui.edu etch/main zlib1g-dev 1:1.2.3-13 [406kB]
Get:10 http://kambing.ui.edu etch/updates/main libssl-dev 0.9.8c-4etch3 [2087kB]
Err http://kambing.ui.edu etch/updates/main libssl-dev 0.9.8c-4etch3
  Connection timed out
Get:11 http://kambing.ui.edu etch/main libtool 1.5.22-4 [328kB]
Get:12 http://kambing.ui.edu etch/updates/main php5-common 5.2.0-8+etch11 [216kB]
Get:13 http://kambing.ui.edu etch/main shtool 2.0.1-2 [152kB]
Get:14 http://kambing.ui.edu etch/updates/main php5-dev 5.2.0-8+etch11 [349kB]
Fetched 8335kB in 4h11m21s (553B/s)
Failed to fetch http://kambing.ui.edu/debian/pool/main/g/glibc/libc6_2.3.6.ds1-13etch5_i386.deb  Error reading from server - read (104 Connection reset by peer)
Failed to fetch http://kambing.ui.edu/debian-security/pool/updates/main/o/openssl/libssl-dev_0.9.8c-4etch3_i386.deb  Connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:

Select allOpen in new window

 

by: sakuya_suPosted on 2008-07-23 at 22:19:57ID: 22076270

it was installing fine, but it could not find a package (timed out).

you can either try installing it again, or change the apt source and then install again. or try the commands as suggested:
maybe run apt-get update or try with --fix-missing?

 

by: wuyinzhiPosted on 2008-07-24 at 00:50:10ID: 22076853

thanks, i think now i have installed php-devel properly.

i try this:

apt-get install rar
Reading package lists... Done
Building dependency tree... Done
rar is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.

so i assume rar is already installed.

i restart my apache, but still cannot use rar function. any clue?

 

by: sakuya_suPosted on 2008-07-24 at 01:27:53ID: 22077028

no, you need to install php-dev and then you need to use the manual install method to install pecl rar package.. apt-get rar only installs the unrar thing for your computer, not the rar function for php

 

by: wuyinzhiPosted on 2008-07-24 at 01:50:29ID: 22077126

i try this and got error message, any help (again) ? thx a lot...

maen:/# /opt/lampp/bin/pecl -v install rar
downloading rar-1.0.0.tgz ...
Starting to download rar-1.0.0.tgz (134,904 bytes)
.............................done: 134,904 bytes
md5sum ok: /opt/lampp/lib/php/test/rar/tests/001.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/002.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/003.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/004.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/latest_winrar.rar
md5sum ok: /opt/lampp/lib/php/test/rar/tests/linux_rar.rar
md5sum ok: /opt/lampp/lib/php/doc/rar/unrar/LICENSE.txt
md5sum ok: /opt/lampp/lib/php/doc/rar/unrar/README.txt
md5sum ok: /opt/lampp/lib/php/doc/rar/CREDITS
md5sum ok: /opt/lampp/lib/php/doc/rar/example.php
121 source files, building
building in /tmp/pear/cache/rar-1.0.0
running: phpize
grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
rolling back 30 file operations
ERROR: `phpize' failed
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:

Select allOpen in new window

 

by: sakuya_suPosted on 2008-07-24 at 03:05:25ID: 22077438

Ok.. you need to do:

apt-get install php-dev

then do
/opt/lampp/bin/pecl -v install rar

 

by: wuyinzhiPosted on 2008-07-24 at 17:14:35ID: 22084945

i think i already have php-dev installed.

this is what i got from command apt-get install php5-dev:

maen:~# apt-get install php-dev
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package php-dev
maen:~# apt-get install php5-dev
Reading package lists... Done
Building dependency tree... Done
php5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.

and this is what i got from type command:

/opt/lampp/bin/pecl -v install rar (something wrong in result as you can see below)

maen:~# /opt/lampp/bin/pecl -v install rar
downloading rar-1.0.0.tgz ...
Starting to download rar-1.0.0.tgz (134,904 bytes)
.....done: 134,904 bytes
md5sum ok: /opt/lampp/lib/php/test/rar/tests/001.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/002.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/003.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/004.phpt
md5sum ok: /opt/lampp/lib/php/test/rar/tests/latest_winrar.rar
md5sum ok: /opt/lampp/lib/php/test/rar/tests/linux_rar.rar
md5sum ok: /opt/lampp/lib/php/doc/rar/unrar/LICENSE.txt
md5sum ok: /opt/lampp/lib/php/doc/rar/unrar/README.txt
md5sum ok: /opt/lampp/lib/php/doc/rar/CREDITS
md5sum ok: /opt/lampp/lib/php/doc/rar/example.php
121 source files, building
building in /tmp/pear/cache/rar-1.0.0
running: phpize
grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
rolling back 30 file operations
ERROR: `phpize' failed
maen:~#
maen:~#


 

by: sakuya_suPosted on 2008-07-24 at 17:49:38ID: 22085107

it should work now that you have php5 installed, do you know where the phpize binary file is? (as in can you actually locate it?). If so then follow the manual pecl rar installation steps on the pecl website

 

by: wuyinzhiPosted on 2008-07-24 at 19:36:38ID: 22085533

this is the result when i type locate phpize

maen:/opt/lampp/htdocs/editorial/test/rar-1.0.0# locate phpize
/opt/lampp/bin/phpize
/opt/lampp/bin/phpize-4.4.8
/opt/lampp/bin/phpize-5.2.5
/opt/lampp/lib/php/build/phpize.m4
maen:/opt/lampp/htdocs/editorial/test/rar-1.0.0#

i read that manual rar installation just like this:

Example 1. Rar installation

gunzip rar-xxx.tgz
tar -xvf rar-xxx.tar
cd rar-xxx
phpize
./configure && make && make install

i've got problem when running this line:

./configure && make && make install
it returns:

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable rar support... yes, shared
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

FYI when i type rar or unrar, the command is ready. but i still get my page error

Fatal error: Call to undefined function rar_open()

when running rar_open function.

 

by: sakuya_suPosted on 2008-07-24 at 22:50:35ID: 22086218

you need to install the kernel source, kernel headers, gcc, nawk, gawk packages it would seem. the checking for XXX... No is telling you that there is a dependancy missing

 

by: wuyinzhiPosted on 2008-07-25 at 01:42:09ID: 22086858

thx sakuya, you help me a lot! my program is running well now

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...