bamboo icon indicating copy to clipboard operation
bamboo copied to clipboard

installation script failed

Open iqqmuT opened this issue 12 years ago • 6 comments

Hey, I tried to install bamboo on Ubuntu 11 with the installation script. It failed this way:

lua-gd-2.0.33r2/luagd.c
gcc -o gd.so `gdlib-config --features |sed -e "s/GD_/-DGD_/g"` `gdlib-config --cflags` `pkg-config lua5.1 --cflags` -O3 -Wall -fPIC -shared `gdlib-config --ldflags` `gdlib-config --libs` `pkg-config lua5.1 --libs` -lgd luagd.c
lua test_features.lua
lua: error loading module 'gd' from file './gd.so':
./gd.so: undefined symbol: gdImageSquareToCircle
stack traceback:
[C]: ?
[C]: in function 'require'
test_features.lua:5: in main chunk
[C]: ?
make: *** [gd.so] Error 1
lua: ./bamboo_installer:91: Error: when install tar xvf tars/${LUAGD}.tar.gz && cd ${LUAGD} && make && sudo cp -af gd.so ${LUALIB_PATH} && cd ..
stack traceback:
[C]: in function 'error'
./bamboo_installer:91: in main chunk
[C]: ?

Installed libgd2-xpm-dev package version is 2.0.36~rc1~dfsg-5.1, it it's any help.

iqqmuT avatar Apr 27 '12 11:04 iqqmuT

hi,

This is because gcc 4.6's changes.

Please download https://github.com/downloads/daogangtang/bamboo_doc_cn/bamboo_installer-v1.1.1.tar.gzto reinstall.

I have tested it at Ubuntu 12.04.

Good luck!

On Fri, Apr 27, 2012 at 7:56 PM, Tuomas Jaakola < [email protected]

wrote:

Hey, I tried to install bamboo on Ubuntu 11 with the installation script. It failed this way:

lua-gd-2.0.33r2/luagd.c gcc -o gd.so gdlib-config --features |sed -e "s/GD_/-DGD_/g" gdlib-config --cflags pkg-config lua5.1 --cflags -O3 -Wall -fPIC -shared gdlib-config --ldflags gdlib-config --libs pkg-config lua5.1 --libs -lgd luagd.c lua test_features.lua lua: error loading module 'gd' from file './gd.so': ./gd.so: undefined symbol: gdImageSquareToCircle stack traceback: [C]: ? [C]: in function 'require' test_features.lua:5: in main chunk [C]: ? make: *** [gd.so] Error 1 lua: ./bamboo_installer:91: Error: when install tar xvf tars/${LUAGD}.tar.gz && cd ${LUAGD} && make && sudo cp -af gd.so ${LUALIB_PATH} && cd .. stack traceback: [C]: in function 'error' ./bamboo_installer:91: in main chunk [C]: ?

Installed libgd2-xpm-dev package version is 2.0.36~rc1~dfsg-5.1, it it's any help.


Reply to this email directly or view it on GitHub: https://github.com/daogangtang/bamboo/issues/6

Nothing is impossible.

miketang84 avatar Apr 27 '12 12:04 miketang84

Thanks for quick answer, now got it installed!

bamboo loadconfig does not seem to be valid command anymore?

And createapp gives this error:

$ bamboo createapp foo
cp: cannot stat `/usr/local/share/lua/5.1/bamboo//src/cmd_tmpls/createapp/*': No such file or directory
lua: /usr/local/bin/bamboo:329: bad argument #1 to 'format' (string expected, got nil)
stack traceback:
[C]: in function 'format'
/usr/local/bin/bamboo:329: in function 'cmd_to_run'
/usr/local/bin/bamboo:726: in function 'run'
/usr/local/bin/bamboo:738: in main chunk
[C]: ?

iqqmuT avatar Apr 27 '12 13:04 iqqmuT

hi,

The English doc in that package is out-of-date. sorry, the latest documents are at

https://github.com/daogangtang/bamboo_doc_cn

We will translate those to english recently.

Sorry for our latency.

On Fri, Apr 27, 2012 at 9:27 PM, Tuomas Jaakola < [email protected]

wrote:

Thanks for quick answer, now got it installed!

bamboo loadconfig does not seem to be valid command anymore?

And createapp gives this error:

$ bamboo createapp foo cp: cannot stat `/usr/local/share/lua/5.1/bamboo//src/cmd_tmpls/createapp/*': No such file or directory lua: /usr/local/bin/bamboo:329: bad argument #1 to 'format' (string expected, got nil) stack traceback: [C]: in function 'format' /usr/local/bin/bamboo:329: in function 'cmd_to_run' /usr/local/bin/bamboo:726: in function 'run' /usr/local/bin/bamboo:738: in main chunk [C]: ?


Reply to this email directly or view it on GitHub: https://github.com/daogangtang/bamboo/issues/6#issuecomment-5381328

Nothing is impossible.

miketang84 avatar Apr 28 '12 03:04 miketang84

hi Now you can

open a terminal, input:

bamboo config -monserver_dir ~/workspace/monserver
bamboo config -bamboo_dir ~/GIT/bamboo

and

cd ~/workspace/
bamboo createapp myfirstapp

This can work.

On Fri, Apr 27, 2012 at 9:27 PM, Tuomas Jaakola < [email protected]

wrote:

Thanks for quick answer, now got it installed!

bamboo loadconfig does not seem to be valid command anymore?

And createapp gives this error:

$ bamboo createapp foo cp: cannot stat `/usr/local/share/lua/5.1/bamboo//src/cmd_tmpls/createapp/*': No such file or directory lua: /usr/local/bin/bamboo:329: bad argument #1 to 'format' (string expected, got nil) stack traceback: [C]: in function 'format' /usr/local/bin/bamboo:329: in function 'cmd_to_run' /usr/local/bin/bamboo:726: in function 'run' /usr/local/bin/bamboo:738: in main chunk [C]: ?


Reply to this email directly or view it on GitHub: https://github.com/daogangtang/bamboo/issues/6#issuecomment-5381328

Nothing is impossible.

miketang84 avatar Apr 28 '12 06:04 miketang84

refer to

https://github.com/daogangtang/bamboo_doc_cn/blob/master/%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%B7%A5%E7%A8%8B.md

Good Luck.

On Sat, Apr 28, 2012 at 2:17 PM, Tang Daogang [email protected] wrote:

hi Now you can

open a terminal, input:

bamboo config -monserver_dir ~/workspace/monserver
bamboo config -bamboo_dir ~/GIT/bamboo

and

cd ~/workspace/
bamboo createapp myfirstapp

This can work.

On Fri, Apr 27, 2012 at 9:27 PM, Tuomas Jaakola < [email protected]

wrote:

Thanks for quick answer, now got it installed!

bamboo loadconfig does not seem to be valid command anymore?

And createapp gives this error:

$ bamboo createapp foo cp: cannot stat `/usr/local/share/lua/5.1/bamboo//src/cmd_tmpls/createapp/*': No such file or directory lua: /usr/local/bin/bamboo:329: bad argument #1 to 'format' (string expected, got nil) stack traceback: [C]: in function 'format' /usr/local/bin/bamboo:329: in function 'cmd_to_run' /usr/local/bin/bamboo:726: in function 'run' /usr/local/bin/bamboo:738: in main chunk [C]: ?


Reply to this email directly or view it on GitHub: https://github.com/daogangtang/bamboo/issues/6#issuecomment-5381328

Nothing is impossible.

Nothing is impossible.

miketang84 avatar Apr 28 '12 06:04 miketang84