TV 'me telefonumun ekranını miracast ile yansıtabiliyorum. Bunu PC için yapılıp yapılmadığını araştırırken sadece Windows anlatımlarını gördüm. Ubuntu üzerinden de miracast kullanmanın bir yolu var mıdır?
Sürüm 16.04 değil mi? Şurada bir PPA var:
https://launchpad.net/~thopiekar/+archive/ubuntu/miraclecast
Paket de mevcut, kurabiliriz muhtemelen ancak sonrası için hiçbir fikrim yok. Nasıl bir uygulamadır, görüntü nasıl aktarılır?
sudo add-apt-repository ppa:thopiekar/miraclecast
sudo apt-get update
sudo apt-get install miraclecast
ile bir kurmayı dene. Sonra sistemi yeniden başlatıp Ekranlar uygulamasına bir bakarsın.
Şu da kenarda dursun:
https://wiki.ubuntu.com/Touch/DisplayCasting
Alıntı yapılan: heartsmagic - 11 Mayıs 2016 - 13:25:24
sudo add-apt-repository ppa:thopiekar/miraclecast
sudo apt-get update
sudo apt-get install miraclecast
ile bir kurmayı dene. Sonra sistemi yeniden başlatıp Ekranlar uygulamasına bir bakarsın.
Bununla denediğimde miraclecast adında bir paket bulamıyor.
Alıntı yapılan: heartsmagic - 11 Mayıs 2016 - 13:25:24
Şu da kenarda dursun:
https://wiki.ubuntu.com/Touch/DisplayCasting
Bununla da ne yapacağımı pek anlayamadım. <your pin> kısmına ne gelecek mesela ?
PPA uçmuş. Verdiğim ikinci bağlantıyı da unutalım, ben de pek anlamadım şimdi neden verdiğimi. Arada bakınırken yanlış bir şeyi ayıklamışım sanırım.
https://github.com/albfan/miraclecast
systemctl --version
ne diyor? Meşakkatli bir süreç var burada söylemiş olayım.
Diyor ki :
systemctl --version
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN
Derleyip bakabiliriz eğer uğraşırım diyorsan.
sudo apt-get install git
git clone https://github.com/albfan/miraclecast.git
cd miraclecast
./autogen.sh
mkdir build
cd build
../configure --prefix=/usr/local
make
Çıktılar önemli, derleme biterse kurdurmak kolay. Her adımın çıktısı lazım bize, hata olduysa nerede oldu diye bakmamız için bu şart. Derleme öncesi varsa bağımlılık eksikleri onları da görmüş oluruz.
Sizin için bir sıkıntı doğurmayacaksa eğer benim içinde sorun olmaz :) Adım adım yazayım ben çıktıları o zaman.
// Sanırım en son aşamada hata verdi.
sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.7.4-0ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
git clone https://github.com/albfan/miraclecast.git
Cloning into 'miraclecast'...
remote: Counting objects: 1239, done.
remote: Total 1239 (delta 0), reused 0 (delta 0), pack-reused 1239
Receiving objects: 100% (1239/1239), 433.92 KiB | 188.00 KiB/s, done.
Resolving deltas: 100% (848/848), done.
Checking connectivity... done.
cd miraclecast/
./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:29: installing 'build-aux/ar-lib'
configure.ac:17: installing 'build-aux/compile'
configure.ac:19: installing 'build-aux/config.guess'
configure.ac:19: installing 'build-aux/config.sub'
configure.ac:21: installing 'build-aux/install-sh'
configure.ac:21: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
mkdir build
cd build
../configure --prefix=/usr/local
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for gcc option to accept ISO C99... none needed
checking for ar... ar
checking the archiver (ar) interface... ar
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) mawk
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cos in -lm... yes
../configure: line 13639: syntax error near unexpected token `DEPS,'
../configure: line 13639: `PKG_CHECK_MODULES(DEPS, libudev libsystemd > 219)'
make
make: *** No targets specified and no makefile found. Stop.
Bizim için sorun olmaz, sen kod etiketi içinde olduğu sürece her çıktıyı verebilirsin. configure adımında hata vermiş, o olmadan derleme olmaz. Ancak, şu an bakamayacağım hataya, sonraya kalsın. Sen bir ileti daha geçersin başlığa, tekrar foruma geldiğimde görürüm. Başka birisi görüp fikir verirse ne âlâ tabi.
Alıntı yapılan: heartsmagic - 13 Temmuz 2016 - 02:54:16
Bizim için sorun olmaz, sen kod etiketi içinde olduğu sürece her çıktıyı verebilirsin. configure adımında hata vermiş, o olmadan derleme olmaz. Ancak, şu an bakamayacağım hataya, sonraya kalsın. Sen bir ileti daha geçersin başlığa, tekrar foruma geldiğimde görürüm. Başka birisi görüp fikir verirse ne âlâ tabi.
Alıntı yapılan: TezzcaN - 13 Temmuz 2016 - 03:19:55
Tabi. Ben yarın uyandırırım konuyu. Teşekkür ederim.
Uyandıralım :)
Umarım flood olarak algılanmaz. Tekrar uyandırayım
dpkg -l | grep pkg-config
ne diyor?
Alıntı yapılan: heartsmagic - 15 Temmuz 2016 - 00:30:17
dpkg -l | grep pkg-config
ne diyor?
dpkg -l | grep pkg-config
ii pkg-config 0.29.1-0ubuntu1 amd64 manage compile and link flags for libraries
configure aşaması o kadar mı? Şimdi dikkatimi çekti de sanki o kadar olmamalı.
Alıntı yapılan: heartsmagic - 15 Temmuz 2016 - 00:44:43
configure aşaması o kadar mı? Şimdi dikkatimi çekti de sanki o kadar olmamalı.
Aynı işlemleri configure adımına kada tekrarladım. Çıktısı :
../configure --prefix=/usr/local
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for gcc option to accept ISO C99... none needed
checking for ar... ar
checking the archiver (ar) interface... ar
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) mawk
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cos in -lm... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: error: Package requirements (libudev libsystemd > 219) were not met:
No package 'libudev' found
No package 'libsystemd' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
dpkg -l | egrep "libudev|libsystemd"
ne diyor?
Alıntı yapılan: heartsmagic - 15 Temmuz 2016 - 01:52:48
dpkg -l | egrep "libudev|libsystemd"
ne diyor?
dpkg -l | egrep "libudev|libsystemd"
ii libgudev-1.0-0:amd64 1:230-2 amd64 GObject-based wrapper library for libudev
ii libsystemd-dev:amd64 229-4ubuntu6 amd64 systemd utility library - development files
ii libsystemd0:amd64 229-4ubuntu6 amd64 systemd utility library
ii libudev-dev:amd64 229-4ubuntu6 amd64 libudev development files
ii libudev1:amd64 229-4ubuntu6 amd64 libudev shared library
ii libudev1:i386 229-4ubuntu6
Sanırsam heartsmagic 'den başka ilgili yok :-\
Aklıma geldikçe başlığı üste çıkarmaya çalışıyorum. Yok mudur bir kelam eden ? :)
echo $PKG_CONFIG_PATH
?
Alıntı yapılan: 8100d1r0n - 22 Temmuz 2016 - 16:57:58
echo $PKG_CONFIG_PATH
?
Boş çıktı vermekte bu arkadaş.
echo $PKG_CONFIG_PATH
Bi kac cikti daha isteyelim.
$ pkg-config --list-all | grep libudev
$ locate libudev | grep '\.pc'
Alıntı yapılan: 8100d1r0n - 22 Temmuz 2016 - 17:39:21
Bi kac cikti daha isteyelim.
$ pkg-config --list-all | grep libudev
$ locate libudev | grep '\.pc'
Hocam ikiside çıktı vermeden bi sonraki satıra geçti.
$ ls -l /usr/local/lib/pkgconfig/
?
Alıntı yapılan: 8100d1r0n - 22 Temmuz 2016 - 17:49:17
$ ls -l /usr/local/lib/pkgconfig/
?
ls -l /usr/local/lib/pkgconfig/
ls: cannot access '/usr/local/lib/pkgconfig/': No such file or directory
Linux 'da daha ne görebilirim derken mevlam böylelerini de çıkarıyor demek. ???
Bu pkg-config paketi kurulu sizde degil mi? Ben yukarida yanlis gormedim ciktilari. Neyse cmake kurulumu yapip
Asagidaki konutlari gecin bakalim.
$ cd build
$ cmake ..
$ make
Alıntı yapılan: 8100d1r0n - 22 Temmuz 2016 - 17:57:37
Bu pkg-config paketi kurulu sizde degil mi? Ben yukarida yanlis gormedim ciktilari. Neyse cmake kurulumu yapip
Asagidaki konutlari gecin bakalim.
$ cd build
$ cmake ..
$ make
cmake çıktısı :
cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.1")
-- Checking for module 'glib-2.0'
-- No package 'glib-2.0' found
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:19 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/tezcan/miraclecast/build/CMakeFiles/CMakeOutput.log".
No package 'glib-2.0' found
Glib-2.0 paketini yukleyin tekrar deneyin bakalim¿
Alıntı yapılan: 8100d1r0n - 22 Temmuz 2016 - 18:28:28
No package 'glib-2.0' found
Glib-2.0 paketini yukleyin tekrar deneyin bakalim¿
glib2.0 paketi zaten kuruluydu. Kaldırıp tekrar yükledim. Çıktı tamamiyle aynı.
Ben bu sorunu bi sorup ogreneyim. Sorunu ben de merak ettim acikcasi.
Beklemedeyim.
Alıntı yapılan: 8100d1r0n - 22 Temmuz 2016 - 18:55:54
Ben bu sorunu bi sorup ogreneyim. Sorunu ben de merak ettim acikcasi.
bu sorunu bende meraktayım conky-lua kurulumunu dene aurdan hepsi bir tek lıa19-nv hariç şimdilik sadece bunda denk geldim
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-ata/aur-conky-lua/src/conky-1.10.1/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-ata/aur-conky-lua/src/conky-1.10.1/CMakeFiles/CMakeError.log".
@ata1 sizin olay bu konu ile ahlakaki degil ama buyrun.
http://s5.dosya.tc/server2/92qk8x/conky-lua.zip.html
@TezzcaN, libudev-dev ve libsystemd-dev paketlerini kurup tekrar deneyiniz.
Alıntı yapılan: 8100d1r0n - 23 Temmuz 2016 - 15:30:20
@ata1 sizin olay bu konu ile ahlakaki degil ama buyrun.
http://s5.dosya.tc/server2/92qk8x/conky-lua.zip.html
@TezzcaN, libudev-dev ve libsystemd-dev paketlerini kurup tekrar deneyiniz.
teşekkür ederim bende hallettim fakaat demek istediğim bu birkaç pakette oluyor örnek pach var ve hala lua 51 sorun oluyor, yinede paket için teşekkürler.
@TezzcaN, eksik paketlerinin kistesini cikardim.
Libudev-dev
Libsystemd-dev
Libglib2.0-dev
Libreadline-dev
Yukaridaki paketleri yukleyip derleme islemini yeniden deneyiniz.
Ubuntu ile bizim sistem biraz farkli. Bizde paket kuruldugu zaman kaynak kodlar da sisteme eklenir ama Ubuntu da bu is ayriymis ve pajet sonun da dev yazanlar paketlerdeki kaynaklari iceriyormus.
Alıntı yapılan: 8100d1r0n - 23 Temmuz 2016 - 17:25:07
@TezzcaN, eksik paketlerinin kistesini cikardim.
Libudev-dev
Libsystemd-dev
Libglib2.0-dev
Libreadline-dev
Yukaridaki paketleri yukleyip derleme islemini yeniden deneyiniz.
Ubuntu bizim sistem biraz farkli. Bizde paket kuruldugu zaman kaynak kodlar da sisteme eklenir ama Ubuntu da bu is ayriymis ve pajet sonun da dev yazanlar paketlerdeki kaynaklari iceriyormus.
Hocam bu paketler zaten yüklüydü bende :) . glib2.0 paketini kaldırıp yeniden kurarken bir acemilik yapıp önemli bir şeyleri silmişim sanırım. Bilgisayarım açılmadı ve uğraşmak yerine sistemi yeniden kurdum. Bu sefer adımları tekrar edince eksik paket sorunları verdi yine. Ama tek tek kurduktan sonra configure adımını geçip kurulumu yapabildim. Bir çeşit bug olmuştu galiba, sizin de tahmin edebileceğiniz üzere. Velhasılkelam emekleriniz için teşekkür ediyorum. İyi günler.
Eminmisiniz?
Yazilan paketlerin sonunda ki dev yazisina dikkat edin.
Siz de kurulu olmadigini soylemekte.
Yani ben en azından sudo apt-get install libudev-dev
yazdığımı hatırlıyorum.
Neyse sorun cozulnus nasilsa. Gerisi onemli degil zaten.
Çok hortlamış gibi olacak kusuruma bakmayın :) Yazılanların bir çoğunu yaptım. hata görmedim en azından ekranda Error yazısı gelmedi hiç. Ve fakat yayını nasıl yapacağım neyle başlatacağım zerre bilgim yok. Lnet windowsa çok alışmışız. Bir uygulamamı yüklemesi gerekiyordu tüm bu işlemlerin sonunda. Çözenlerden biri yardımcı olabilirse çok sevinirim.