angel2s2 / sams2

Automatically exported from code.google.com/p/sams2
GNU General Public License v2.0
1 stars 0 forks source link

(Trac:472) [build, FreeBSD] Не собирается под FreeBSD версия 2.0.0-beta1 #465

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(Trac:472) Originaly reported by Cancer on 2010-05-27 20:46:26

FreeBSD 6.4 и 7.2
Самс скачан отсюда fetch 
http://nixdev.net/release/sams/devel/sams-2.0.0-b1.tar.bz2

{{{
//>pkg_info | grep php
php5-5.2.12 PHP Scripting Language
php5-bz2-5.2.12 The bz2 shared extension for php
php5-calendar-5.2.12 The calendar shared extension for php
php5-ctype-5.2.12 The ctype shared extension for php
php5-curl-5.2.12 The curl shared extension for php
php5-dom-5.2.12 The dom shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.12 The filter shared extension for php
php5-ftp-5.2.12 The ftp shared extension for php
php5-gd-5.2.12 The gd shared extension for php
php5-gettext-5.2.12 The gettext shared extension for php
php5-hash-5.2.12 The hash shared extension for php
php5-iconv-5.2.12 The iconv shared extension for php
php5-imap-5.2.12 The imap shared extension for php
php5-json-5.2.12 The json shared extension for php
php5-ldap-5.2.12 The ldap shared extension for php
php5-mssql-5.2.12 The mssql shared extension for php
php5-mysql-5.2.12 The mysql shared extension for php
php5-mysqli-5.2.12 The mysqli shared extension for php
php5-pcre-5.2.12 The pcre shared extension for php
php5-pdo-5.2.12 The pdo shared extension for php
php5-pdo_sqlite-5.2.12 The pdo_sqlite shared extension for php
php5-posix-5.2.12 The posix shared extension for php
php5-session-5.2.12 The session shared extension for php
php5-simplexml-5.2.12 The simplexml shared extension for php
php5-spl-5.2.12 The spl shared extension for php
php5-sqlite-5.2.12 The sqlite shared extension for php
php5-tokenizer-5.2.12 The tokenizer shared extension for php
php5-xml-5.2.12 The xml shared extension for php
php5-xmlreader-5.2.12 The xmlreader shared extension for php
php5-xmlrpc-5.2.12 The xmlrpc shared extension for php
php5-xmlwriter-5.2.12 The xmlwriter shared extension for php
php5-zip-5.2.12 The zip shared extension for php
php5-zlib-5.2.12 The zlib shared extension for php
apache-1.3.41_1
}}}

{{{
//> make -f Makefile.cvs
}}}

Все ок

{{{
//> ./configure
}}}

{{{
..........

checking for dlerror... yes
checking for dlsym... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating php/Makefile
config.status: creating doc/Makefile
config.status: creating plugins/loadavg/Makefile
config.status: creating plugins/fsusage/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Use MySQL API: yes
Use PostgreSQL API: no
Use unixODBC API: yes
Use LDAP API: no
Using pcre: pcrecpp
Use dynamic plugin: yes

Locations:
config file: /usr/local/etc/sams2.conf
daemons: /usr/local/bin
web interface: /usr/local/share/sams2
documentation: /usr/local/share/doc/sams2-2.0.0

Note: If later on, you will use
make install exec_prefix=/foo
or make install DESTDIR=/tmp/package
the locations above would be incorrect

Configure completed. Run make (or gmake) to build the programs.
}}}

{{{
//> make
.........

/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../src -I/usr/local/include/mysql -I/usr/local/include -Wall -g -O2 
-I/usr/local/include -MT getfsusage.lo -MD -MP -MF .deps/getfsusage.Tpo -c -o 
getfsusage.lo getfsusage.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src 
-I/usr/local/include/mysql -I/usr/local/include -Wall -g -O2 
-I/usr/local/include -MT getfsusage.lo -MD -MP -MF .deps/getfsusage.Tpo -c 
getfsusage.cpp -fPIC -DPIC -o .libs/getfsusage.o
In file included from /usr/include/sys/mount.h:36,
from getfsusage.cpp:20:
/usr/include/sys/ucred.h:68: error: `u_int' does not name a type
/usr/include/sys/ucred.h:69: error: `uid_t' does not name a type
/usr/include/sys/ucred.h:71: error: `gid_t' does not name a type
In file included from getfsusage.cpp:20:
/usr/include/sys/mount.h:53: error: `u_short' does not name a type
/usr/include/sys/mount.h:54: error: `u_short' does not name a type
/usr/include/sys/mount.h:81: error: `uid_t' does not name a type
/usr/include/sys/mount.h:355: error: `uid_t' does not name a type
/usr/include/sys/mount.h:358: error: `u_char' does not name a type
/usr/include/sys/mount.h:360: error: `u_char' does not name a type
/usr/include/sys/mount.h:383: error: `u_int' does not name a type
/usr/include/sys/mount.h:434: error: `u_int32_t' does not name a type
/usr/include/sys/mount.h:452: error: `u_int32_t' does not name a type
/usr/include/sys/mount.h:453: error: `u_int32_t' does not name a type
getfsusage.cpp: In function `int get_fs_usage(fs_info*)':
getfsusage.cpp:126: warning: left shift count >= width of type
getfsusage.cpp:127: warning: left shift count >= width of type
getfsusage.cpp:129: warning: left shift count >= width of type
getfsusage.cpp:130: warning: left shift count >= width of type
getfsusage.cpp:133: warning: left shift count >= width of type
getfsusage.cpp:134: warning: left shift count >= width of type
*** Error code 1

Stop in /usr/home/cancer/sams-2.0.0-b1/plugins/fsusage.
*** Error code 1

Stop in /usr/home/cancer/sams-2.0.0-b1.
}}}

Original issue reported on code.google.com by bl...@nixdev.net on 5 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2010-06-02 09:07:40:

FreeBSD ... 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 05:25:24 UTC 2010    
 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
нормально собралось

Original comment by bl...@nixdev.net on 5 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2010-09-02 11:20:33:

FreeBSD 6.2 - ситуация 1 в 1

Making all in plugins/fsusage
gmake[1]: Entering directory `/tmp/sams-2.0.0-b2/plugins/fsusage'
/usr/local/bin/bash ../../libtool --tag=CXX   --mode=compile g++ 
-DHAVE_CONFIG_H -I. -I../../src   -I/usr/local/include/mysql -Wall -g -O2 
-I/usr/local/include -MT fsusage.lo -MD -MP -MF .deps/fsusage.Tpo -c -o 
fsusage.lo fsusage.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src 
-I/usr/local/include/mysql -Wall -g -O2 -I/usr/local/include -MT fsusage.lo -MD 
-MP -MF .deps/fsusage.Tpo -c fsusage.cpp  -fPIC -DPIC -o .libs/fsusage.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src 
-I/usr/local/include/mysql -Wall -g -O2 -I/usr/local/include -MT fsusage.lo -MD 
-MP -MF .deps/fsusage.Tpo -c fsusage.cpp -o fsusage.o >/dev/null 2>&1
mv -f .deps/fsusage.Tpo .deps/fsusage.Plo
/usr/local/bin/bash ../../libtool --tag=CXX   --mode=compile g++ 
-DHAVE_CONFIG_H -I. -I../../src   -I/usr/local/include/mysql -Wall -g -O2 
-I/usr/local/include -MT getfsusage.lo -MD -MP -MF .deps/getfsusage.Tpo -c -o 
getfsusage.lo getfsusage.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src 
-I/usr/local/include/mysql -Wall -g -O2 -I/usr/local/include -MT getfsusage.lo 
-MD -MP -MF .deps/getfsusage.Tpo -c getfsusage.cpp  -fPIC -DPIC -o 
.libs/getfsusage.o
In file included from /usr/include/sys/mount.h:36,
                 from getfsusage.cpp:20:
/usr/include/sys/ucred.h:68: error: `u_int' does not name a type
/usr/include/sys/ucred.h:69: error: `uid_t' does not name a type
/usr/include/sys/ucred.h:71: error: `gid_t' does not name a type
In file included from getfsusage.cpp:20:
/usr/include/sys/mount.h:53: error: `u_short' does not name a type
/usr/include/sys/mount.h:54: error: `u_short' does not name a type
/usr/include/sys/mount.h:81: error: `uid_t' does not name a type
/usr/include/sys/mount.h:354: error: `uid_t' does not name a type
/usr/include/sys/mount.h:357: error: `u_char' does not name a type
/usr/include/sys/mount.h:359: error: `u_char' does not name a type
/usr/include/sys/mount.h:382: error: `u_int' does not name a type
/usr/include/sys/mount.h:433: error: `u_int32_t' does not name a type
/usr/include/sys/mount.h:451: error: `u_int32_t' does not name a type
/usr/include/sys/mount.h:452: error: `u_int32_t' does not name a type
getfsusage.cpp: In function `int get_fs_usage(fs_info*)':
getfsusage.cpp:126: warning: left shift count >= width of type
getfsusage.cpp:127: warning: left shift count >= width of type
getfsusage.cpp:129: warning: left shift count >= width of type
getfsusage.cpp:130: warning: left shift count >= width of type
getfsusage.cpp:133: warning: left shift count >= width of type
getfsusage.cpp:134: warning: left shift count >= width of type
gmake[1]: *** [getfsusage.lo] Error 1
gmake[1]: Leaving directory `/tmp/sams-2.0.0-b2/plugins/fsusage'
gmake: *** [all-recursive] Error 1

Original comment by bl...@nixdev.net on 5 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2011-01-30 01:00:59:

Какие текущий результаты сборки версии из 
trunk на FreeBSD 8.x?
Есть информация что на 7.x все собирается 
успешно.

Original comment by bl...@nixdev.net on 5 Jun 2011 at 8:11