Disko Forum logo Login  |  Register  |  Lost Password
Re:Installation on Arch Linux

archme
Posts: 5
graphgraph

Installation on Arch Linux 5 Years, 9 Months ago  
Hello,

I am trying to install disko on Arch Linux distribution.
(I would like to package disko for AUR)

This is how i tried it:
>git clone git://www.diskohq.org/disko.git
>cd disko
>scons graphics=x11
scons: Reading SConscript files ...
Checking for options...(cached) yes
Checking for pkg-config... no
Checking for sigc++-2.0... no
required lib sigc++-2.0 not found

pkg-config, sigc++, ... are installed on my system

next i tried to compile directly using make:
>make enable-x11=y
...
[CXX] (fb/mmsfbdevomap.o)
fb/mmsfbdevomap.cpp: In member function 'virtual bool MMSFBDevOmap::openDevice(char*, int)':
fb/mmsfbdevomap.cpp:66: error: 'sprintf' was not declared in this scope
fb/mmsfbdevomap.cpp:104: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp: In member function 'virtual bool MMSFBDevOmap:anDisplay(int, void*)':
fb/mmsfbdevomap.cpp:178: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp: In member function 'virtual bool MMSFBDevOmap::testLayer(int)':
fb/mmsfbdevomap.cpp:197: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp: In member function 'virtual bool MMSFBDevOmap::initLayer(int, int, int, MMSFBSurfacePixelFormat, int)':
fb/mmsfbdevomap.cpp:214: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:222: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:227: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:265: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:274: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:280: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:312: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:321: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:327: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:332: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:364: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:385: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp: In member function 'virtual bool MMSFBDevOmap::releaseLayer(int)':
fb/mmsfbdevomap.cpp:399: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp: In member function 'virtual bool MMSFBDevOmap::restoreLayer(int)':
fb/mmsfbdevomap.cpp:431: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp: In member function 'bool MMSFBDevOmap:etMode(int, int, MMSFBSurfacePixelFormat, int)':
fb/mmsfbdevomap.cpp:506: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:513: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:520: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:543: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:589: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:631: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:693: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:699: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:706: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:710: error: 'printf' was not declared in this scope
fb/mmsfbdevomap.cpp:724: error: 'printf' was not declared in this scope
make[1]: *** [fb/mmsfbdevomap.o] Error 1
make[1]: Leaving directory `/home/roman/packages/mypkgs/disko/src/mmsgui'
make: *** [all] Error 2

Someone has an idea whats going wrong ?
Thx Roman
 
  The administrator has disabled public write access.
Re:Installation on Arch Linux

archme
Posts: 5
graphgraph

Re:Installation on Arch Linux 5 Years, 9 Months ago  
Found the problem with make.
I had to install directfb.

But now compilation fails with:
make[1]: Entering directory `/home/roman/packages/mypkgs/disko/tools/taff'
(CXX) (src/taff.o)
[LD] (taff)
../../lib/libmmstools.so: undefined reference to `EVP_EncryptInit_ex'
../../lib/libmmstools.so: undefined reference to `RAND_SSLeay'
../../lib/libmmstools.so: undefined reference to `EVP_CIPHER_CTX_cleanup'
../../lib/libmmstools.so: undefined reference to `EVP_EncryptUpdate'
../../lib/libmmstools.so: undefined reference to `RAND_set_rand_method'
../../lib/libmmstools.so: undefined reference to `EVP_aes_128_cbc'
../../lib/libmmstools.so: undefined reference to `EVP_DecryptUpdate'
../../lib/libmmstools.so: undefined reference to `RAND_bytes'
../../lib/libmmstools.so: undefined reference to `EVP_CIPHER_CTX_init'
../../lib/libmmstools.so: undefined reference to `RAND_cleanup'
../../lib/libmmstools.so: undefined reference to `EVP_CIPHER_CTX_block_size'
../../lib/libmmstools.so: undefined reference to `EVP_EncryptFinal_ex'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/roman/packages/mypkgs/disko/tools/taff'
make: *** [all] Error 2
 
  The administrator has disabled public write access.
Re:Installation on Arch Linux

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:Installation on Arch Linux 5 Years, 9 Months ago  
Hi archme,

please don't use make. It's obsolete and will be removed in the next time.

If scons doesn't check, that some requirements are met, you can
try to run 'scons --config=force'. This assures rechecking, because
scons caches its checks.

I hope this helps,
Matthias
 
  The administrator has disabled public write access.
Re:Installation on Arch Linux

archme
Posts: 5
graphgraph

Re:Installation on Arch Linux 5 Years, 9 Months ago  
Thank you very much, Matthias.
This work instantly.

But now i would like to compile the tutorial samples.
>git clone git://www.diskohq.org/disko-tutorials.git
>cd disko-tutorials/firststeps
>make
check for disko version >= 1.1.1
make -C 01 all
check for disko version >= 1.1.1
make[1]: Entering directory `/home/roman/devel/disko-tutorials/firststeps/01'
g++ -g -O3 -D__HAVE_CURL__ -D__HAVE_DL__ -D__HAVE_XLIB__ -D__ENABLE_MMSFB_X11_CORE__ -D__ENABLE_MMSFBSURFACE_X11_CORE__ -D__HAVE_MMSMEDIA__ -DXINE_DISABLE_DEPRECATED_FEATURES -D__HAVE_XINE__ -pthread -D__HAVE_GSTREAMER__ -D__HAVE_MIXER__ -D__ENABLE_SQLITE__ -D__HAVE_MMSCRYPT__ -I/usr/include/disko/ -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/alsa -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include main.cpp -Wl,--hash-style=gnu -Wl,--as-needed -pthread -L/usr/lib/disko -lmmsinfo -lmmsconfig -lmmstools -lmmsgui -lmmsinput -lmmsbase -lmmscore -lpthread -lmmsmedia -lsigc-2.0 -lpng12 -lfreetype -lcurl -lX11 -lXv -lXxf86vm -lasound -lxine -lgstreamer-0.10 -lssl -lcrypto -ldl -lz -lsqlite3 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -Wl,-rpath=/usr/lib/disko -o 01
/usr/lib/disko/libmmscore.so: undefined reference to `MMSConfigData::getLanguagefileDir()'
/usr/lib/disko/libmmscore.so: undefined reference to `MMSConfigData::getDataDBDatabase()'
/usr/lib/disko/libmmscore.so: undefined reference to `MMSFile::getLastError()'
/usr/lib/disko/libmmscore.so: undefined reference to `MMSConfigData::getPrefix()'
....

Perhaps you also have an idea about this ?

Thanks in advance,
Roman
 
  The administrator has disabled public write access.
Re:Installation on Arch Linux

Stefan
Posts: 91
graph

Re:Installation on Arch Linux 5 Years, 9 Months ago  
Hi Roman,

can you try to compilie disko with big_lib=y and see if the error went away?

have fun
Stefan
 
  The administrator has disabled public write access.
Re:Installation on Arch Linux

archme
Posts: 5
graphgraph

Re:Installation on Arch Linux 5 Years, 9 Months ago  
This fixed the problem.

Thx Stefan
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop