pada waktu install mambo dan raptor ada error kaya gini
1. mambo saya ikuti readme, pada saat buat mysql nya (mambo udah
saya masukin ke /srv/www/htdocs dan /home/eko/public_html,
sebenernya yang mana sih yang bener)
[EMAIL PROTECTED]:~/Desktop/MamboV4.5.2-Stable> mysqladmin -u db_user -p
create Mambo
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the
socket: '/var/lib/mysql/mysql.sock' exists!
kalo saya cek memang di /var/lib/nysql tuh ga ad file mysql.sock
2. saya install game raptor, pada saat make
[EMAIL PROTECTED]:~/raptor/raptor-1.2.0> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
./configure: line 2394: LF_CONFIGURE_CXX: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
[EMAIL PROTECTED]:~/raptor/raptor-1.2.0> make
Making all in src
make[1]: Entering directory `/home/eko/raptor/raptor-1.2.0/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"raptor\" -DVERSION=\"1.2.0\" -
I. -I. -Wall -Woverloaded-virtual -DUNIX -O3 -s -g -O2 -MT
animation.o -MD -MP -MF ".deps/animation.Tpo" \
-c -o animation.o `test -f 'animation.cpp' ||
echo './'`animation.cpp; \
then mv -f ".deps/animation.Tpo" ".deps/animation.Po"; \
else rm -f ".deps/animation.Tpo"; exit 1; \
fi
In file included from animation.cpp:1:
animation.h:4:21: allegro.h: No such file or directory
In file included from animation.cpp:1:
animation.h:14: error: `BITMAP' was not declared in this scope
animation.h:14: error: `who' was not declared in this scope
animation.h:14: error: invalid data member initialization
animation.h:14: error: (use `=' to initialize static data members)
animation.h:14: error: variable or field `add' declared void
animation.h:14: error: `add' declared as a `virtual' field
animation.h:15: error: `BITMAP' was not declared in this scope
animation.h:15: error: `work' was not declared in this scope
animation.h:15: error: invalid data member initialization
animation.h:15: error: variable or field `Next' declared void
animation.h:15: error: `Next' declared as a `virtual' field
animation.h:18: error: ISO C++ forbids declaration of `BITMAP' with
no type
animation.h:18: error: `BITMAP' declared as a `virtual' field
animation.h:18: error: syntax error before `*' token
animation.h:25: error: invalid use of member `Animation::BITMAP'
animation.h:25: error: syntax error before `>' token
animation.h:26: error: invalid use of member `Animation::BITMAP'
animation.h:26: error: syntax error before `>' token
animation.h:28: error: syntax error before `*' token
animation.cpp:2:21: allegro.h: No such file or directory
animation.cpp: In constructor `Animation::Animation(int, int)':
animation.cpp:8: error: `current' undeclared (first use this
function)
animation.cpp:8: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
animation.cpp:8: error: `pics' undeclared (first use this function)
animation.cpp:9: error: `sent' undeclared (first use this function)
animation.cpp: At global scope:
animation.cpp:13: error: invalid use of member `Animation::BITMAP'
animation.cpp:13: error: `who' was not declared in this scope
animation.cpp:13: error: variable or field `add' declared void
animation.cpp:13: error: `int Animation::add' is not a static member
of `class
Animation'
animation.cpp:13: error: syntax error before `{' token
animation.cpp:16: error: ISO C++ forbids declaration of `current'
with no type
animation.cpp:16: error: `int current' used prior to declaration
animation.cpp:17: error: syntax error before `if'
animation.cpp:19: error: ISO C++ forbids declaration of `sent' with
no type
animation.cpp:19: error: `int sent' used prior to declaration
animation.cpp:19: error: `who' was not declared in this scope
animation.cpp:21: error: syntax error before `}' token
animation.cpp:24: error: syntax error before `*' token
animation.cpp: In member function `virtual void Animation::clear()':
animation.cpp:31: error: `destroy_bitmap' undeclared (first use this
function)
animation.cpp:32: warning: converting to non-pointer type `int' from
NULL
animation.cpp:39: error: `temp' undeclared (first use this function)
animation.cpp:39: error: invalid type argument of `unary *'
animation.cpp: At global scope:
animation.cpp:49: error: invalid use of member `Animation::BITMAP'
animation.cpp:49: error: `work' was not declared in this scope
animation.cpp:49: error: variable or field `Next' declared void
animation.cpp:49: error: `int Animation::Next' is not a static
member of `class
Animation'
animation.cpp:49: error: syntax error before `{' token
animation.cpp:57: error: `work' was not declared in this scope
animation.cpp:57: error: invalid type argument of `unary *'
animation.cpp:57: error: `posx' was not declared in this scope
animation.cpp:57: error: `posy' was not declared in this scope
animation.cpp:57: error: ISO C++ forbids declaration of
`draw_sprite' with no
type
animation.cpp:57: error: initializer list being treated as compound
expression
animation.cpp:58: error: syntax error before `++' token
animation.cpp: In destructor `virtual Animation::~Animation()':
animation.cpp:72: error: `destroy_bitmap' undeclared (first use this
function)
animation.cpp:76: error: invalid type argument of `unary *'
make[1]: *** [animation.o] Error 1
make[1]: Leaving directory `/home/eko/raptor/raptor-1.2.0/src'
make: *** [all-recursive] Error 1
gmana cara menyelesaikan kedua masalah ini??salah satu dulu gpp kok,
dan kenapa hal ini bisa terjadi??saya pake linux suse 9.2
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Indo-Linux/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/