Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-11-10 00:54:49
Point:500 Replies:16 POST_ID:828783USER_ID:11059
Topic:
C Programming Language;Linux Programming;PHP Scripting Language
Any export on hiphop installation on Linux CentOS6.
I'm following the final thread answer of link in
<link to defective competing site deleted by COBOLdinosaur, Topic Advisor>
to get hiphop installation almost done. All ext library for hiphop is installed succesfully
But it found some error during at the last step to install hiphop :
Lasst steps:
============
cd /home/ec2-user/hiphop/hiphop-php
git submodule init
git submodule update
export HPHP_HOME=/home/ec2-user/hiphop/hiphop-php
export HPHP_LIB=/home/ec2-user/hiphop/hiphop-php/bin
cmake . #Error happen here & output error as follows in code area
make
alias hphp=/home/ec2-user/hiphop/hiphop-php/src/hphp/hphp
it reports error as follows. What is LibDwarf (missing: LIBDWARF_LIBRARIES)in cmake ? and Could I get rid of the fatal error
Please advise
I'm following the final thread answer of link in
<link to defective competing site deleted by COBOLdinosaur, Topic Advisor>
to get hiphop installation almost done. All ext library for hiphop is installed succesfully
But it found some error during at the last step to install hiphop :
Lasst steps:
============
cd /home/ec2-user/hiphop/hiphop-php
git submodule init
git submodule update
export HPHP_HOME=/home/ec2-user/hiphop/hiphop-php
export HPHP_LIB=/home/ec2-user/hiphop/hiphop-php/bin
cmake . #Error happen here & output error as follows in code area
make
alias hphp=/home/ec2-user/hiphop/hiphop-php/src/hphp/hphp
it reports error as follows. What is LibDwarf (missing: LIBDWARF_LIBRARIES)in cmake ? and Could I get rid of the fatal error
Please advise
root@vps [/home/ec2-user/hiphop/hiphop-php]# cmake .-- CMAKE_PREFIX_PATH was missing, proceeding anywayCMake Warning at CMake/HPHPSetup.cmake:39 (message): chrpath not found, rpath will not be stripped from installed binariesCall Stack (most recent call first): hphp/CMakeLists.txt:18 (include)-- MySQL Include dir: /usr/include/mysql library dir: /usr/lib64-- MySQL client libraries: mysqlclient_r-- Found libevent: /home/ec2-user/hiphop/local/lib/libevent.so-- Found GD: /usr/lib64/libgd.so-- Found ICU header files in /usr/include-- Found ICU libraries: /usr/lib64/libicuuc.so-- Found minimal tcmalloc: /usr/local/lib/libtcmalloc_minimal.so-- Found Intel TBB-- Found mcrypt: /usr/lib64/libmcrypt.soFound OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.0")-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5")-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found-- Found ONIGURUMA: /usr/lib64/libonig.so-- Found ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so-- Found LIBPTHREAD: /usr/lib64/libpthread.so-- Found Readline: /usr/include-- Found Editline: /usr/lib64/libedit.so-- Found LibElf: /home/dev/ec2-user/hiphop/local/lib/libelf.so-- Performing Test ELF_GETSHDRSTRNDX-- Performing Test ELF_GETSHDRSTRNDX - FailedCMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find LibDwarf (missing: LIBDWARF_LIBRARIES)Call Stack (most recent call first): /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) CMake/FindLibDwarf.cmake:49 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMake/HPHPFindLibs.cmake:287 (find_package) CMake/HPHPSetup.cmake:55 (include) hphp/CMakeLists.txt:18 (include)-- Configuring incomplete, errors occurred!See also "/home/dev/ec2-user/hiphop/hiphop-php/CMakeFiles/CMakeOutput.log".See also "/home/dev/ec2-user/hiphop/hiphop-php/CMakeFiles/CMakeError.log".make: *** No targets specified and no makefile found. Stop. 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:
Author: duncanb7 replied at 2024-11-17 02:32:52
Thanks for all of your reply
Have a nice day and good weekend
Duncan
Have a nice day and good weekend
Duncan
Author: duncanb7 replied at 2024-11-17 02:31:00
During some EE expert to solve the issue of yum install, it also help
to solve hiphop binary up in attahced link
http://www.experts-exchange.com/Programming/Languages/C/Q_28296049.html#a39653816
Duncan
to solve hiphop binary up in attahced link
http://www.experts-exchange.com/Programming/Languages/C/Q_28296049.html#a39653816
Duncan
Expert: Duncan Roe replied at 2024-11-14 13:07:35
I.e. an assisted solution or two
Expert: Duncan Roe replied at 2024-11-14 13:06:26
By all means accept #a39643579 as the solution. However, I feel I deserve some credit for putting you on the right track.
Author: duncanb7 replied at 2024-11-13 13:10:37
I've requested that this question be closed as follows:
Accepted answer: 0 points for duncanb7's comment #a39643579
for the following reason:
Thanks for your reply, and the thread is solved by author
Accepted answer: 0 points for duncanb7's comment #a39643579
for the following reason:
Thanks for your reply, and the thread is solved by author
Author: duncanb7 replied at 2024-11-13 13:05:35
search hiphop , HHVM or duncanb7 in EE search bar
Thanks for your reply with this closed thread
Thanks for your reply with this closed thread
Expert: Duncan Roe replied at 2024-11-13 12:49:22
I couldn't find the new thread - can you post a link here please?
Author: duncanb7 replied at 2024-11-12 19:25:04
yum install elfutils-libelf-devel , the LIBWARF error is fixed
and try your suggestion ,
./configure --prefix=/usr
make
make install
that is getting the same error.
And the continuing error is a lot after LIBWARF error which is solved by author
and I close the thread to make new thread instead
thanks for all of reply
Duncan
and try your suggestion ,
./configure --prefix=/usr
make
make install
that is getting the same error.
And the continuing error is a lot after LIBWARF error which is solved by author
and I close the thread to make new thread instead
thanks for all of reply
Duncan
Assisted Solution
Expert: Duncan Roe replied at 2024-11-12 12:40:53
250 points AVERAGE
When you asked this question, you had no idea what the problem was. I advised you to obtain and install the missing items. That is what you did.
Using yum instead of fetching as I would is a trivial change to my answer.
(I would never use yum on my Slackware system, but it may well be right for your distribution (there are a lot of distributions)).
Using yum instead of fetching as I would is a trivial change to my answer.
(I would never use yum on my Slackware system, but it may well be right for your distribution (there are a lot of distributions)).
Expert: Duncan Roe replied at 2024-11-12 12:36:42
(please see next post)
Author: duncanb7 replied at 2024-11-12 02:28:07
I've requested that this question be closed as follows:
Accepted answer: 0 points for duncanb7's comment #a39641191
for the following reason:
Thanks for all of your reply and the thread is solved by author
Accepted answer: 0 points for duncanb7's comment #a39641191
for the following reason:
Thanks for all of your reply and the thread is solved by author
Author: duncanb7 replied at 2024-11-12 02:26:49
After yum install elfutils-libelf-devel,
And re-install libedwarf and libelf, they are passed and then reinstall boost_1_50_0
and all cmake error is fixed.
But further error, make file error after Cmake "." command.
Best Advise
Duncan
And re-install libedwarf and libelf, they are passed and then reinstall boost_1_50_0
and all cmake error is fixed.
But further error, make file error after Cmake "." command.
Best Advise
Duncan
Accepted Solution
Expert: Duncan Roe replied at 2024-11-11 13:05:24
250 points AVERAGE
You have to do much the same for libboost. But you need to do it properly. Line 3 onwards of your session to install libdwarf should have looked like this
This will install in /usr as you were doing by hand. (It will also install anything you may have missed). libboost installs 62 items in /usr/lib and 10583 items in /usr/include/boost. You probably want to use make install for that.
As an aside, what distribution are you using? I find it unusual that it didn't come with libboost
As an aside, what distribution are you using? I find it unusual that it didn't come with libboost
Author: duncanb7 replied at 2024-11-11 03:08:40
Dear COBOLdinasaur,
I have been informed the attach-link issue in firs time that I never be aware of that before
And other EE staff is helping me to understand the requirement of attach-link in EE
in seperate post. Thanks for your reminder and help.
Dear duncan_roe,
After re-install libwarf, I still not get the library include file by the following instructions
I have been informed the attach-link issue in firs time that I never be aware of that before
And other EE staff is helping me to understand the requirement of attach-link in EE
in seperate post. Thanks for your reminder and help.
Dear duncan_roe,
After re-install libwarf, I still not get the library include file by the following instructions
git clone http:example.link.libwarf.tar.gz (example link only)cd libdwarf/libdwarf./configuremakesudo cp libdwarf.a /usr/lib64/sudo cp libdwarh.h /usr/include/sudo cp dwarf.h /usr/include/ 1:2:3:4:5:6:7:
So I directly download libdwarf.a, libdwarh.h dwarf.h. Although the LIBDWARF error
is gone but NEW other fatal error is coming again from installing hiphop with "cmake ."
as follows
CMake Error at CMake/FindBoost.cmake:916 (message): Unable to find the requested Boost libraries. Boost version: 1.46.1 Boost include path: /home/dev/t/t/hiphop/local/include Detected version of Boost is too old. Requested version was 1.48 (or newer). The following Boost libraries could not be found: boost_system boost_program_options boost_filesystem boost_regex No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.Call Stack (most recent call first): hphp/third_party/folly/CMakeLists.txt:57 (find_package)CMake Error at CMake/FindBoost.cmake:916 (message): Unable to find the requested Boost libraries. Boost version: 1.46.1 Boost include path: /home/dev/t/t/hiphop/local/include Detected version of Boost is too old. Requested version was 1.48 (or newer). The following Boost libraries could not be found: boost_thread boost_system No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.Call Stack (most recent call first): hphp/third_party/ti/CMakeLists.txt:5 (find_package)CMake Error at CMake/FindBoost.cmake:916 (message): Unable to find the requested Boost libraries. Boost version: 1.46.1 Boost include path: /home/dev/t/t/hiphop/local/include Detected version of Boost is too old. Requested version was 1.48 (or newer). The following Boost libraries could not be found: boost_thread boost_system No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.Call Stack (most recent call first): hphp/third_party/thrift/CMakeLists.txt:5 (find_package)-- Configuring incomplete, errors occurred!See also "/home/dev/t/t/hiphop/hiphop-php/CMakeFiles/CMakeOutput.log".See also "/home/dev/t/t/hiphop/hiphop-php/CMakeFiles/CMakeError.log". 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:47:48:49:50:51:52:53:54:55:56:57:58:59:60:61:62:63:64:65:66:67:68:69:70:71:
Expert: Duncan Roe replied at 2024-11-10 23:55:17
You can get a library of this name from sourceforge. I assume it's the right one but can't be certain.
You will need to build it from source and install. Then cmake should find it.
You will need to build it from source and install. Then cmake should find it.
Expert: COBOLdinosaur replied at 2024-11-10 08:48:35
@duncanb7,
Please review the rules for posting external links you will find here:
http://support.experts-exchange.com/customer/portal/articles/1162518
COBOLdinosaur, Topic Advisor
Please review the rules for posting external links you will find here:
http://support.experts-exchange.com/customer/portal/articles/1162518
COBOLdinosaur, Topic Advisor