• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua OTClient Compile

luccagomes

New Member
Joined
Jul 30, 2015
Messages
153
Reaction score
1
I tried
Code:
sudo apt-get install libboost1.55-all-dev libphysfs-dev libssl-dev liblua5.1-dev

Error
Code:
Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
E: Impossible to find the package libboost1.55-all-dev
E:  Could not find the package by regular expression 'libboost1.55-all-dev'

So i changed to
Code:
sudo apt-get install libboost1.55-all-dev libphysfs-dev libssl-dev liblua5.1-0-dev

Code:
E: Can not find the libboost1.55-all-dev package
E: Could not find the package by regular expression 'libboost1.55-all-dev'

What i do now?
 
I tried
Code:
sudo apt-get install libboost1.55-all-dev libphysfs-dev libssl-dev liblua5.1-dev

Error
Code:
Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
E: Impossible to find the package libboost1.55-all-dev
E:  Could not find the package by regular expression 'libboost1.55-all-dev'

So i changed to
Code:
sudo apt-get install libboost1.55-all-dev libphysfs-dev libssl-dev liblua5.1-0-dev

Code:
E: Can not find the libboost1.55-all-dev package
E: Could not find the package by regular expression 'libboost1.55-all-dev'

What i do now?
Had same problems a few days ago, I ran:
Code:
sudo apt-get install libboost-all-dev
 
I dont understand how to fix this second error, could u help me more?
i'm using L Ubuntu
Try this:

1. Download physfs source:
Code:
hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/
2. Run:
Code:
cd physfs
sudo mkdir build
cd build
3. Now we want to start compile/install it:
Code:
sudo cmake ..
sudo make
sudo make install
sudo mv /usr/local/lib/libphysfs.a /usr/lib/gcc/x86_64-linux-gnu/

If everything success, remove the whole otclient you tried to install, and re-do the git clone / compile.
 
Try this:

1. Download physfs source:
Code:
hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/
2. Run:
Code:
cd physfs
sudo mkdir build
cd build
3. Now we want to start compile/install it:
Code:
sudo cmake ..
sudo make
sudo make install
sudo mv /usr/local/lib/libphysfs.a /usr/lib/gcc/x86_64-linux-gnu/

If everything success, remove the whole otclient you tried to install, and re-do the git clone / compile.
Ty
Sorry to my time with no internet

But it dont work
When i use
Code:
root@lucca-DC8CU41:/home/lucca/otclient/physfs/build# sudo cmake ..
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- Doxygen not found. You won't be able to build documentation.
-- PhysicsFS will build with the following options:
--  ZIP support: enabled
--  7zip support: enabled
--  GRP support: enabled
--  WAD support: enabled
--  HOG support: enabled
--  MVL support: enabled
--  QPAK support: enabled
--  CD-ROM drive support: enabled
--  Thread safety: enabled
--  Build own zlib: disabled
--  Build static library: enabled
--  Build shared library: enabled
--  Build wxWidgets test program: disabled
--  Build stdio test program: enabled
--  Use readline in test program: enabled
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CURSES_LIBRARY
  linked by target "test_physfs" in directory /home/lucca/otclient/physfs

-- Configuring incomplete, errors occurred!
See also "/home/lucca/otclient/physfs/build/CMakeFiles/CMakeOutput.log".
See also "/home/lucca/otclient/physfs/build/CMakeFiles/CMakeError.log".
root@lucca-DC8CU41:/home/lucca/otclient/physfs/build#
 
CMakeError.log
Code:
Determining if the include file sys/ucred.h exists failed with the following output:
Change Dir: /home/lucca/otclient/physfs/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1805977636/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1805977636.dir/build.make CMakeFiles/cmTryCompileExec1805977636.dir/build
make[1]: Entering directory '/home/lucca/otclient/physfs/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/lucca/otclient/physfs/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1805977636.dir/CheckIncludeFile.c.o
/usr/bin/cc  -o CMakeFiles/cmTryCompileExec1805977636.dir/CheckIncludeFile.c.o  -c /home/lucca/otclient/physfs/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/lucca/otclient/physfs/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:23: fatal error: sys/ucred.h: Arquivo ou diretório não encontrado
compilation terminated.
CMakeFiles/cmTryCompileExec1805977636.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1805977636.dir/CheckIncludeFile.c.o' failed
make[1]: Leaving directory '/home/lucca/otclient/physfs/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1805977636.dir/CheckIncludeFile.c.o] Error 1
Makefile:117: recipe for target 'cmTryCompileExec1805977636/fast' failed
make: *** [cmTryCompileExec1805977636/fast] Error 2


cmakeoutput.log
http://pastebin.com/XEDuV7ns
 
Back
Top