I want to install pyinstaller on aix7.1, but failed.
I have already installed zlib-devel.
This is the error message when installing pyinstaller:
-bash-4.2# python ./waf distclean all
'distclean' finished successfully (0.203s)
'all' finished successfully (0.000s)
'distclean' finished successfully (0.000s)
Setting top to : /u02/py/pyinstaller-develop/bootloader
Setting out to : /u02/py/pyinstaller-develop/bootloader/build
Python Version : 2.7.10 (default, Jun 21 2016, 10:30:16) [C]
Checking for 'xlc' (C compiler) : not found
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking size of pointer : 4
Platform : AIX-32bit detected based on compiler
Checking for flags -maix32 : yes
Checking for program '/usr/bin/strip' : /usr/bin/strip
Checking for program 'strip' : /usr/bin/strip
Checking for library dl : yes
Checking for library m : yes
Checking for library z : yes
Checking for function unsetenv : yes
Checking for function mkdtemp : yes
'configure' finished successfully (2.248s)
'make_all' finished successfully (0.018s)
Waf: Entering directory `/u02/py/pyinstaller-develop/bootloader/build/debug'
[ 1/13] Compiling src/main.c
[ 2/13] Compiling src/pyi_archive.c
[ 3/13] Compiling src/pyi_global.c
[ 4/13] Compiling src/pyi_launch.c
[ 5/13] Compiling src/pyi_main.c
[ 6/13] Compiling src/pyi_path.c
[ 7/13] Compiling src/pyi_python.c
[ 8/13] Compiling src/pyi_python27_compat.c
[ 9/13] Compiling src/pyi_pythonlib.c
[10/13] Compiling src/pyi_utils.c
[11/13] Compiling src/pyi_win32_utils.c
[12/13] Linking build/debug/run_d
collect2: library libZ not found
Waf: Leaving directory `/u02/py/pyinstaller-develop/bootloader/build/debug'
Build failed
-> task in 'run_d' failed with exit status 1 (run with -v to display more information)
-bash-4.2#
-bash-4.2#
-bash-4.2#
-bash-4.2# find / -name libz.so
/opt/freeware/lib/libz.so
/opt/freeware/lib64/libz.so
/usr/lib/libz.so
/usr/lib64/libz.so
-bash-4.2#
First, edit bootloader/wscript file
--- wscript.bak 2018-09-09 20:12:10.000000000 +0200
+++ wscript 2019-07-02 10:57:30.000000000 +0200
## -770,8 +770,9 ##
staticlibs = []
if ctx.env.DEST_OS == 'aix':
# link statically with zlib
- libs.remove('Z')
- staticlibs.append('Z')
+ # libs.remove('Z')
+ # staticlibs.append('Z')
+ pass
if ctx.options.boehmgc:
libs.append('GC')
Then create a script named /opt/freeware/bin/strip with the following content:
#!/bin/sh
/usr/bin/strip "$#"
exit 0
Don't forget chmod +x /opt/freeware/bin/strip
Also there is a problem with function mkdtemp, to solve it do this:
export CPPFLAGS='-D_XOPEN_SOURCE=700'
python ./waf -v all
Note: you should know that AIX is very problematic in itself, but combining it with helping software (like this waf) makes it worse. Additional reading: http://lzsiga.users.sourceforge.net/aix-linking.html#Q0026
Related
i've compiled the azerothcore from source on my aarch64 machine. I am running HestiaCP on it with MariaDB 10.6.8. When starting the authserver i get the message
MySQL client library: 8.0.29
MySQL server ver: 5.5.5-10.6.8-MariaDB-1:10.6.8+maria~focal
Connected to MySQL database at 127.0.0.1
AzerothCore does not support MySQL versions below 5.7 or MariaDB versions below 10.5
DatabasePool Login NOT opened. There were errors opening the MySQL connections. Check your log file for specific errors
I think there is a problem with checking the right DB version. I dont know why it starts with 5.5.5. Is it a linking problem? But i dont see any installed packages older than what is required by the server. Any guess?
CMake Output:
-- CMake version: 3.16.3
-- The CXX compiler identification is Clang 10.0.0
-- The C compiler identification is Clang 10.0.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Running cmake hook: AFTER_LOAD_CONF
-- No hooks registered for AFTER_LOAD_CONF
-- Enabled С++20 standard
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/clang
-- Clang: Minimum version required is 10.0.0, found 10.0.0 - ok!
-- Performing Test CLANG_HAVE_PROPER_CHARCONV
-- Performing Test CLANG_HAVE_PROPER_CHARCONV - Success
-- Clang: All warnings enabled
-- Running cmake hook: AFTER_LOAD_CMAKE_MODULES
-- No hooks registered for AFTER_LOAD_CMAKE_MODULES
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/aarch64-linux-gnu/libmariadb.so
-- Found MySQL headers: /usr/include/mariadb
-- Found MySQL executable: /usr/bin/mysql
-- Found git binary : /usr/bin/git
* AzerothCore revision : 9673da19470d 2022-07-03 19:50:39 +0000 (master branch)
* AzerothCore buildtype : RelWithDebInfo
* Install core to : /home/ubuntu/azeroth-server
* Install libraries to : /home/ubuntu/azeroth-server/lib
* Install configs to : /home/ubuntu/azeroth-server/etc
* Build applications : Yes (all)
* Build tools : No
* Build with scripts : Yes (static)
* Build with modules : Yes (static)
* Build unit tests : No (default)
* Build core w/PCH : Yes (default)
* Build scripts w/PCH : Yes (default)
* Show all warnings : Yes
* Use coreside debug : No (default)
* Use unix gperftools : No (default)
* Use GIT revision hash : Yes (default)
* Enable vmap DisableMgr checks : Yes (default)
* Show source tree : No (For UNIX default)
-- Performing Test HAVE_NEON
-- Performing Test HAVE_NEON - Success
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.67") found components: system filesystem program_options iostreams regex
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success
-- Looking for strtod_l
-- Looking for strtod_l - not found
-- Looking for MADV_FREE
-- Looking for MADV_FREE - found
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libssl.so;/usr/lib/aarch64-linux-gnu/libcrypto.so
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found Readline library: /usr/lib/aarch64-linux-gnu/libreadline.so
-- Include dir is: /usr/include
-- Running cmake hook: BEFORE_SRC_LOAD
-- No hooks registered for BEFORE_SRC_LOAD
* Apps build list (all):
|
+- apps
| +- authserver
| +- worldserver
|
-- Running cmake hook: BEFORE_GAME_LIBRARY
-- No hooks registered for BEFORE_GAME_LIBRARY
-- Running cmake hook: AFTER_GAME_LIBRARY
-- No hooks registered for AFTER_GAME_LIBRARY
-- Running cmake hook: BEFORE_SCRIPTS_LIBRARY
-- No hooks registered for BEFORE_SCRIPTS_LIBRARY
* Script configuration (static):
|
+- worldserver
| +- Commands
| +- Custom
| +- EasternKingdoms
| +- Events
| +- Kalimdor
| +- Northrend
| +- OutdoorPvP
| +- Outland
| +- Pet
| +- Spells
| +- World
|
* Modules configuration (static):
|
-- * Modules config list:
|
-- Running cmake hook: AFTER_SRC_LOAD
-- No hooks registered for AFTER_SRC_LOAD
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TOOLS
-- Build files have been written to: /home/ubuntu/src/azerothcore/build
mysql -V / mariadb -V output:
mysql Ver 15.1 Distrib 10.6.8-MariaDB, for debian-linux-gnu (aarch64) using readline 5.2
installed packages with mysql tag:
libmysqlclient21/focal-updates,focal-security,now 8.0.29-0ubuntu0.20.04.3 arm64 [installed,automatic]
mysql-common/unknown,now 1:10.6.8+maria~focal all [installed,automatic]
php8.0-mysql/focal,now 1:8.0.20-2+ubuntu20.04.1+deb.sury.org+1 arm64 [installed]
installed packages with mariadb tag:
libdbd-mariadb-perl/focal,now 1.11-3ubuntu2 arm64 [installed,automatic]
libmariadb-dev-compat/unknown,now 1:10.6.8+maria~focal arm64 [installed]
libmariadb-dev/unknown,now 1:10.6.8+maria~focal arm64 [installed]
libmariadb3/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client-core-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client/unknown,now 1:10.6.8+maria~focal all [installed]
mariadb-common/unknown,now 1:10.6.8+maria~focal all [installed]
mariadb-server-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-server-core-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-server/unknown,now 1:10.6.8+maria~focal all [installed]
I tried to install cupy via pip install cupy. I get the following error:
Looking in links:
/cvmfs/soft.computecanada.ca/custom/python/wheelhouse/avx2,
/cvmfs/soft.computecanada.ca/custom/python/wheelhouse/generic Collecting cupy
Using cached https://files.pythonhosted.org/packages/38/14/ddb1a13f77a50d721814e28181ae90e0d57c3f8d4faa9a7b2e028cfcc99a/cupy-4.0.0.tar.gz
Complete output from command python setup.py egg_info:
Options: {'profile': False, 'annotate': False, 'linetrace': False, 'wheel_libs': [], 'package_name': 'cupy', 'no_rpath': False, 'no_cuda': False, 'long_description': None}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
**************************************************
*** WARNING: nvcc path != CUDA_PATH
*** WARNING: nvcc path: None
*** WARNING: CUDA_PATH: /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/cuda/8.0.44
**************************************************
-------- Configuring Module: cuda --------
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc: warning: /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/gcc5.4/cuda/8.0.44/include: linker input file unused because linking not done
/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/gcc5.4/cuda/8.0.44/lib64: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
Cannot build a stub file.
Original error: command 'g++' failed with exit status 1
************************************************************
* CuPy Configuration Summary *
************************************************************
Build Environment:
Include directories: ['/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/cuda/8.0.44/include']
Library directories: ['/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/cuda/8.0.44/lib64']
nvcc command : ['/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/cuda/8.0.44/bin/nvcc']
Environment Variables:
CFLAGS : /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/gcc5.4/cuda/8.0.44/include
LDFLAGS : /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/gcc5.4/cuda/8.0.44/lib64
LIBRARY_PATH : /cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/2.7.14/lib:/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/CUDA/intel2016.4/cuda8.0/openmpi/2.1.1/lib:/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/cuda/8.0.44/lib64:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/imkl/11.3.4.258/mkl/lib/intel64:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/imkl/11.3.4.258/lib/intel64:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/ifort/2016.4.258/compilers_and_libraries_2016.4.258/linux/compiler/lib/intel64:/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64:/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/icc/2016.4.258/compilers_and_libraries_2016.4.258/linux/compiler/lib/intel64:/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/16.09/lib
CUDA_PATH : /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/cuda/8.0.44
NVCC : (none)
Modules:
cuda : No
-> Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'cufft.h', 'curand.h', 'cusparse.h', 'nvrtc.h', 'nvToolsExt.h']
-> Check your CFLAGS environment variable.
ERROR: CUDA could not be found on your system.
Please refer to the Installation Guide for details:
https://docs-cupy.chainer.org/en/stable/install.html
************************************************************
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/localscratch/tamouze.7243408.0/pip-install-_wUDId/cupy/setup.py", line 65, in <module>
ext_modules = cupy_setup_build.get_ext_modules()
File "cupy_setup_build.py", line 561, in get_ext_modules
extensions = make_extensions(arg_options, compiler, use_cython)
File "cupy_setup_build.py", line 374, in make_extensions
raise Exception('Your CUDA environment is invalid. '
Exception: Your CUDA environment is invalid. Please check above error log.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /localscratch/tamouze.7243408.0/pip-install-_wUDId/cupy/
Im working on SSH linux server. Im not comfortable with linux environment. My problem looks like the environment is not ok, please how can setup correctly them? I want to use cupy with cahiner
for cuda 9.0:
pip install --pre cupy-cuda90
Or you may want to first do:
1. check you module list : module list
unload pgi module: module unload pgi/16.9
I'm not really sure how to proceed. The make step failed:
error: ‘strnlen’ was not declared in this scope
make[2]: *** [storage/connect/CMakeFiles/connect.dir/xobject.cpp.o] Error 1
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
make: *** [all] Error 2
Here is some more of the output:
~/Downloads$ tar xvfz mariadb-10.0.15.tar.gz
…
…
=====BUILD======
~/Downloads/mariadb-10.0.15$ cmake . -DBUILD_CONFIG=mysql_release
-- Running cmake version 3.1.0
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
...
...
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strnlen
-- Looking for strnlen - not found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for strsignal
-- Looking for strsignal - found
-- Looking for fgetln
-- Looking for fgetln - found
-- Looking for strpbrk
-- Looking for strpbrk - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for shmctl
-- Looking for shmctl - found
-- Looking for shmdt
-- Looking for shmdt - found
-- Looking for shmget
-- Looking for shmget - found
-- Looking for tell
-- Looking for tell - not found
-- Looking for tempnam
-- Looking for tempnam - found
-- Looking for thr_setconcurrency
-- Looking for thr_setconcurrency - not found
-- Looking for thr_yield
-- Looking for thr_yield - not found
...
...
-- Looking for vasprintf
-- Performing Test HAVE_XUCRED - Success
-- Looking for event.h
-- Looking for event.h - found
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
libmysql
libmysqld
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/7stud/Downloads/mariadb-10.0.15
========MAKE==========
~/Downloads/mariadb-10.0.15$ make
….
…
...
[ 50%] Building CXX object storage/connect/CMakeFiles/connect.dir/value.cpp.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
[ 50%] Building CXX object storage/connect/CMakeFiles/connect.dir/xindex.cpp.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
[ 50%] Building CXX object storage/connect/CMakeFiles/connect.dir/xobject.cpp.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
/Users/7stud/Downloads/mariadb-10.0.15/storage/connect/xobject.cpp: In member function ‘bool STRING::Set(char*, uint)’:
/Users/7stud/Downloads/mariadb-10.0.15/storage/connect/xobject.cpp:275: error: ‘strnlen’ was not declared in this scope
make[2]: *** [storage/connect/CMakeFiles/connect.dir/xobject.cpp.o] Error 1
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
make: *** [all] Error 2
~/Downloads/mariadb-10.0.15$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Next, with homebrew:
Last login: Fri Jan 16 03:28:09 on ttys001 ~$ brew install mariadb
==> Installing mariadb dependency: pidof
==> Downloading http://www.nightproductions.net/downloads/pidof_source.tar.gz
################################################################## 100.0%
==> Patching
==> make all CC=gcc-4.2 CFLAGS= /Users/7stud/.homebrew/Cellar/pidof/0.1.4: 3 files, 24K, built in 3
seconds
==> Installing mariadb
==> Downloading http://ftp.osuosl.org/pub/mariadb/mariadb-10.0.15/source/mariadb-10.0.15.tar.gz
################################################################## 100.0%
==> Patching
==> cmake . -DCMAKE_INSTALL_PREFIX=/Users/7stud/.homebrew/Cellar/mariadb/10.0.15 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE
==> make cd /tmp/mariadb-0ocIfC/mariadb-10.0.15/storage/innobase && /Users/7stud/.homebrew/Cellar/cmake/3.1.0/bin/cmake -E
cmake_link_script CMakeFiles/innobase.dir/link.txt --verbose=1
/Users/7stud/.homebrew/Library/ENV/3.2.6/g++-4.2 -Wall -Wall
-Wno-unused-parameter -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF -bundle -Wl,-headerpad_max_install_names -o ha_innodb.so CMakeFiles/innobase.dir/api/api0api.cc.o
CMakeFiles/innobase.dir/api/api0misc.cc.o
CMakeFiles/innobase.dir/btr/btr0btr.cc.o
CMakeFiles/innobase.dir/btr/btr0cur.cc.o
CMakeFiles/innobase.dir/btr/btr0pcur.cc.o
CMakeFiles/innobase.dir/btr/btr0sea.cc.o
CMakeFiles/innobase.dir/buf/buf0buddy.cc.o
CMakeFiles/innobase.dir/buf/buf0buf.cc.o
CMakeFiles/innobase.dir/buf/buf0dblwr.cc.o
CMakeFiles/innobase.dir/buf/buf0checksum.cc.o
CMakeFiles/innobase.dir/buf/buf0dump.cc.o
CMakeFiles/innobase.dir/buf/buf0flu.cc.o
CMakeFiles/innobase.dir/buf/buf0lru.cc.o
CMakeFiles/innobase.dir/buf/buf0rea.cc.o
CMakeFiles/innobase.dir/data/data0data.cc.o
CMakeFiles/innobase.dir/data/data0type.cc.o
CMakeFiles/innobase.dir/dict/dict0boot.cc.o
CMakeFiles/innobase.dir/dict/dict0crea.cc.o
CMakeFiles/innobase.dir/dict/dict0dict.cc.o
CMakeFiles/innobase.dir/dict/dict0load.cc.o
CMakeFiles/innobase.dir/dict/dict0mem.cc.o
CMakeFiles/innobase.dir/dict/dict0stats.cc.o
CMakeFiles/innobase.dir/dict/dict0stats_bg.cc.o
CMakeFiles/innobase.dir/dyn/dyn0dyn.cc.o
CMakeFiles/innobase.dir/eval/eval0eval.cc.o
CMakeFiles/innobase.dir/eval/eval0proc.cc.o
CMakeFiles/innobase.dir/fil/fil0fil.cc.o
CMakeFiles/innobase.dir/fsp/fsp0fsp.cc.o
CMakeFiles/innobase.dir/fut/fut0fut.cc.o
CMakeFiles/innobase.dir/fut/fut0lst.cc.o
CMakeFiles/innobase.dir/ha/ha0ha.cc.o
CMakeFiles/innobase.dir/ha/ha0storage.cc.o
CMakeFiles/innobase.dir/ha/hash0hash.cc.o
CMakeFiles/innobase.dir/fts/fts0fts.cc.o
CMakeFiles/innobase.dir/fts/fts0ast.cc.o
CMakeFiles/innobase.dir/fts/fts0blex.cc.o
CMakeFiles/innobase.dir/fts/fts0config.cc.o
CMakeFiles/innobase.dir/fts/fts0opt.cc.o
CMakeFiles/innobase.dir/fts/fts0pars.cc.o
CMakeFiles/innobase.dir/fts/fts0que.cc.o
CMakeFiles/innobase.dir/fts/fts0sql.cc.o
CMakeFiles/innobase.dir/fts/fts0tlex.cc.o
CMakeFiles/innobase.dir/handler/ha_innodb.cc.o
CMakeFiles/innobase.dir/handler/handler0alter.cc.o
CMakeFiles/innobase.dir/handler/i_s.cc.o
CMakeFiles/innobase.dir/ibuf/ibuf0ibuf.cc.o
CMakeFiles/innobase.dir/lock/lock0iter.cc.o
CMakeFiles/innobase.dir/lock/lock0lock.cc.o
CMakeFiles/innobase.dir/lock/lock0wait.cc.o
CMakeFiles/innobase.dir/log/log0log.cc.o
CMakeFiles/innobase.dir/log/log0recv.cc.o
CMakeFiles/innobase.dir/mach/mach0data.cc.o
CMakeFiles/innobase.dir/mem/mem0mem.cc.o
CMakeFiles/innobase.dir/mem/mem0pool.cc.o
CMakeFiles/innobase.dir/mtr/mtr0log.cc.o
CMakeFiles/innobase.dir/mtr/mtr0mtr.cc.o
CMakeFiles/innobase.dir/os/os0file.cc.o
CMakeFiles/innobase.dir/os/os0proc.cc.o
CMakeFiles/innobase.dir/os/os0sync.cc.o
CMakeFiles/innobase.dir/os/os0thread.cc.o
CMakeFiles/innobase.dir/page/page0cur.cc.o
CMakeFiles/innobase.dir/page/page0page.cc.o
CMakeFiles/innobase.dir/page/page0zip.cc.o
CMakeFiles/innobase.dir/pars/lexyy.cc.o
CMakeFiles/innobase.dir/pars/pars0grm.cc.o
CMakeFiles/innobase.dir/pars/pars0opt.cc.o
CMakeFiles/innobase.dir/pars/pars0pars.cc.o
CMakeFiles/innobase.dir/pars/pars0sym.cc.o
CMakeFiles/innobase.dir/que/que0que.cc.o
CMakeFiles/innobase.dir/read/read0read.cc.o
CMakeFiles/innobase.dir/rem/rem0cmp.cc.o
CMakeFiles/innobase.dir/rem/rem0rec.cc.o
CMakeFiles/innobase.dir/row/row0ext.cc.o
CMakeFiles/innobase.dir/row/row0ftsort.cc.o
CMakeFiles/innobase.dir/row/row0import.cc.o
CMakeFiles/innobase.dir/row/row0ins.cc.o
CMakeFiles/innobase.dir/row/row0merge.cc.o
CMakeFiles/innobase.dir/row/row0mysql.cc.o
CMakeFiles/innobase.dir/row/row0log.cc.o
CMakeFiles/innobase.dir/row/row0purge.cc.o
CMakeFiles/innobase.dir/row/row0row.cc.o
CMakeFiles/innobase.dir/row/row0sel.cc.o
CMakeFiles/innobase.dir/row/row0uins.cc.o
CMakeFiles/innobase.dir/row/row0umod.cc.o
CMakeFiles/innobase.dir/row/row0undo.cc.o
CMakeFiles/innobase.dir/row/row0upd.cc.o
CMakeFiles/innobase.dir/row/row0quiesce.cc.o
CMakeFiles/innobase.dir/row/row0vers.cc.o
CMakeFiles/innobase.dir/srv/srv0conc.cc.o
CMakeFiles/innobase.dir/srv/srv0mon.cc.o
CMakeFiles/innobase.dir/srv/srv0srv.cc.o
CMakeFiles/innobase.dir/srv/srv0start.cc.o
CMakeFiles/innobase.dir/sync/sync0arr.cc.o
CMakeFiles/innobase.dir/sync/sync0rw.cc.o
CMakeFiles/innobase.dir/sync/sync0sync.cc.o
CMakeFiles/innobase.dir/trx/trx0i_s.cc.o
CMakeFiles/innobase.dir/trx/trx0purge.cc.o
CMakeFiles/innobase.dir/trx/trx0rec.cc.o
CMakeFiles/innobase.dir/trx/trx0roll.cc.o
CMakeFiles/innobase.dir/trx/trx0rseg.cc.o
CMakeFiles/innobase.dir/trx/trx0sys.cc.o
CMakeFiles/innobase.dir/trx/trx0trx.cc.o
CMakeFiles/innobase.dir/trx/trx0undo.cc.o
CMakeFiles/innobase.dir/usr/usr0sess.cc.o
CMakeFiles/innobase.dir/ut/ut0bh.cc.o
CMakeFiles/innobase.dir/ut/ut0byte.cc.o
CMakeFiles/innobase.dir/ut/ut0crc32.cc.o
CMakeFiles/innobase.dir/ut/ut0dbg.cc.o
CMakeFiles/innobase.dir/ut/ut0list.cc.o
CMakeFiles/innobase.dir/ut/ut0mem.cc.o
CMakeFiles/innobase.dir/ut/ut0rbt.cc.o
CMakeFiles/innobase.dir/ut/ut0rnd.cc.o
CMakeFiles/innobase.dir/ut/ut0ut.cc.o
CMakeFiles/innobase.dir/ut/ut0vec.cc.o
CMakeFiles/innobase.dir/ut/ut0wqueue.cc.o
../../libservices/libmysqlservices.a
-Wl,-bundle_loader,/tmp/mariadb-0ocIfC/mariadb-10.0.15/sql/mysqld /usr/local/lib/libz.dylib /usr/local/lib/libz.dylib
/Users/7stud/.homebrew/Cellar/cmake/3.1.0/bin/cmake -E
cmake_progress_report /tmp/mariadb-0ocIfC/mariadb-10.0.15/CMakeFiles
19 20 21 22 23 24 25 26 27 28 [ 95%] Built target innobase make: ***
[all] Error 2
READ THIS: http://git.io/brew-troubleshooting
These open issues may also help: mysql-connector-c++ cannot build with
mariadb (https://github.com/Homebrew/homebrew/issues/34578) Packages
with --with-mysql option not satisfied by mariadb
(https://github.com/Homebrew/homebrew/issues/32973) mariadb: missing
/usr/local/etc/my.cnf.d, removed by brew prune
(https://github.com/Homebrew/homebrew/issues/31760) ~$
Can you please try this:
brew update
brew doctor
brew install mariadb
Reference https://mariadb.com/kb/en/mariadb/building-mariadb-on-mac-os-x-using-homebrew/
Trying to develop an existing Rails 3.0 application on a Mac with a clean install of Mavericks. Passenger Standalone was working fine under Mountain Lion. I upgraded to Mavericks, installed the command line tools, ruby, bundler, etc. When I get to this step:
passenger start
And passenger tries to compile nginx, it fails out with this error:
adding module in /Users/ben/.passenger/standalone/3.0.21-x86_64-ruby1.9.3-macosx-10.9/support/ext/nginx
*** The Phusion Passenger support files are not yet compiled. Compiling them for you... ***
*** Running 'rake nginx RELEASE=yes' in /Users/ben/.passenger/standalone/3.0.21-x86_64-ruby1.9.3-macosx-10.9/support/ext/nginx... ***
(in /Users/ben/.passenger/standalone/3.0.21-x86_64-ruby1.9.3-macosx-10.9/support)
g++ -Iext -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/common/libboost_oxt/aggregate.o -c ext/common/libboost_oxt/aggregate.cpp
In file included from ext/common/libboost_oxt/aggregate.cpp:8:
In file included from ext/oxt/system_calls.cpp:26:
In file included from ext/boost/thread.hpp:24:
In file included from ext/boost/thread/future.hpp:14:
In file included from ext/boost/exception_ptr.hpp:9:
In file included from ext/boost/exception/detail/exception_ptr.hpp:19:
In file included from ext/boost/exception/info.hpp:15:
In file included from ext/boost/exception/to_string_stub.hpp:15:
In file included from ext/boost/exception/detail/object_hex_dump.hpp:14:
ext/boost/exception/detail/type_info.hpp:53:9: error: cannot define the implicit default assignment operator for 'boost::exception_detail::type_info_', because non-static reference member 'type_' can't use default assignment operator
type_info_
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:1246:35: note: in instantiation of member function 'std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> >::operator=' requested here
__cache->__value_ = *__first;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:1187:9: note: in instantiation of function template specialization 'std::__1::__tree<std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> >, std::__1::__map_value_compare<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base>, std::__1::less<boost::exception_detail::type_info_>, true>, std::__1::allocator<std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> > > >::__assign_multi<std::__1::__tree_const_iterator<std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> >, const std::__1::__tree_node<std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> >, void *> *, long> >' requested here
__assign_multi(__t.begin(), __t.end());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/map:766:21: note: in instantiation of member function 'std::__1::__tree<std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> >, std::__1::__map_value_compare<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base>, std::__1::less<boost::exception_detail::type_info_>, true>, std::__1::allocator<std::__1::pair<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> > > >::operator=' requested here
__tree_ = __m.__tree_;
^
ext/boost/exception/info.hpp:160:26: note: in instantiation of member function 'std::__1::map<boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base>, std::__1::less<boost::exception_detail::type_info_>, std::__1::allocator<std::__1::pair<const boost::exception_detail::type_info_, boost::shared_ptr<boost::exception_detail::error_info_base> > > >::operator=' requested here
c->info_ = info_;
^
ext/boost/exception/detail/type_info.hpp:55:41: note: declared here
detail::sp_typeinfo const & type_;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/utility:255:15: note: implicit default copy assignment operator for 'boost::exception_detail::type_info_' first required here
first = __p.first;
^
1 error generated.
rake aborted!
Command failed with status (1): [g++ -Iext -D_REENTRANT -I/usr/local/inclu...]
Tasks: TOP => nginx => agents/nginx/PassengerHelperAgent => ext/common/libboost_oxt.a => ext/common/libboost_oxt/aggregate.o
(See full trace by running task with --trace)
*** ERROR: command failed: sh ./configure --prefix=/tmp --with-cc-opt='-Wno-error' --without-pcre --without-http_rewrite_module --without-http_fastcgi_module '--add-module=/Users/ben/.passenger/standalone/3.0.21-x86_64-ruby1.9.3-macosx-10.9/support/ext/nginx'
You are using Phusion Passenger 3.0.21. That version does not work on Mavericks. Upgrade to 4.0.21 instead. By the way, the recommended way to install Passenger on OS X these days is via Homebrew. Follow the guide at https://www.phusionpassenger.com/download#open_source
Hi I would like to use TypeRex, but it says
$ ./configure
checking for ocamlc... ocamlc
OCaml version is 4.00.1
OCaml library path is /usr/local/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep.opt... ocamldep.opt
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for camlp4... camlp4
checking for camlp4boot... camlp4boot
checking for camlp4o... camlp4o
checking for camlp4of... camlp4of
checking for camlp4oof... camlp4oof
checking for camlp4orf... camlp4orf
checking for camlp4prof... camlp4prof
checking for camlp4r... camlp4r
checking for camlp4rf... camlp4rf
configure: error: Your version of OCaml: 4.00.1 is not supported
Does TypeRex support OCaml 4.00.1?
I further followed this page http://www.typerex.org/manual-setup.html
I used this command
$./configure --disable-version-check EMACS=aquamacs
It doesn't complain, but after I use
$ make
it says
mkdir -p ./_obuild
ocamlc -o ./_obuild/unixrun -make-runtime unix.cma
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
File "_none_", line 1:
Error: Error while building custom runtime system
make: *** [_obuild/unixrun] Error 2
Anyone can help me with this?
Typerex doesn't work out of the box with OCaml 4.00.X (follow the discussion). You'll have to wait, "it is not dead, it is just sleeping for a while".