LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 09-26-2010, 01:34 AM   #1
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
libssl-dev, SDL, libX11: finding the corresponding package in AUR?


hello

wanted to add the prerequisites for building
http://www.es40.org/Building_the_Emu...C_Linux%2C_etc
and have achieved finding them all under Ubuntu(Lucid) using wildcard search and some guessing with Synaptic paket manager but have difficulties finding the required packages (Poco C++ libraries, libpcap-devel, libX11-devel, SDL-devel) to build es40 emulator for Arch.

1. first this:
http://www.es40.org/Poco_C%2B%2B_libraries

for debian/ubuntu, the instructions propose:

$ apt-get install openssl libssl-dev

pacman says openssl is already installed.

then I did a query for libssl in
http://aur.archlinux.org/packages.ph...l&do_Search=Go
and (for 32 bit) found:
http://aur.archlinux.org/packages.php?ID=37007
which seems out of date.

go ahead, build and install it nevertheless?

2. for http://www.es40.org/Libpcap-devel
there's http://aur.archlinux.org/packages.php?ID=25532

doesn't look straight forward with 2 source patches to apply.

3. http://www.es40.org/LibX11-devel
finds only this:
http://aur.archlinux.org/packages.php?ID=39351
which has problems with keyboardgrab. don't know yet if that'll be a problem.

4. for http://www.es40.org/SDL-devel
querying SDL finds many items but none looks right.

thanks!
0li
 
Old 09-26-2010, 08:29 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Arch dose things a bit different than other distros for one there are no -devel or -dev the source IS IN THE PACKAGE
Please read http://wiki.archlinux.org/index.php/Beginners%27_Guide
what dose pacman show ??
Code:
su -   ( i do not like "sudo" )
pacman -Ss libpcap libX11 SDL

Quote:
and have achieved finding them all under Ubuntu(Lucid) using wildcard search and some guessing with Synaptic paket manager but have difficulties finding the required packages (Poco C++ libraries, libpcap-devel, libX11-devel, SDL-devel) to build es40 emulator for Arch.
I would NOT use Ubuntu .deb's on Arch !

Poco ? build from source and make a Arch PKGBUILD and install with pacman
SDL
Code:
su -
pacman -S SDL
it is installed
Quote:
querying SDL finds many items but none looks right.
i take it you have not read the Arch wiki ?
you might want too
http://wiki.archlinux.org/index.php/The_Arch_Way
http://wiki.archlinux.org/index.php/Table_of_Contents

libX11 - this is a MUST if it is was NOT installed then there would not be a working gui - no Gnome , no KDE, no xfce
this WAS installed when you ran ( during install ) " pacman -S xorg "


the very first thing i would do is REMOVE ALL Ubuntu code you "copy/paste " into Arch
read the Arch wiki -- a FEW TIMES ( think of it as a collage course and a WORKING Arch IS THE final exam )
 
1 members found this post helpful.
Old 09-27-2010, 03:43 PM   #3
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Original Poster
Rep: Reputation: 0
Hi John,

thank you!

I'm a relative beginner on Linux but have read some about Arch and this is the reason I decided to try it. I plan to move from ubuntu Lucid to Arch as main system and after I failed to install Audacity (see http://www.linuxquestions.org/questi...ml#post4109505 ) which I don't really need for now, I wanted to build a non-trivial claimed-to-be source code portable app, which I need. (I used the prebuild app under Win but for Linux there's only source. I wanted to hack the sources of this abandonned app to fix the 'very few' remaining errors, but I don't have the MSVC compiler under Win. some come to Linux for stranger reasons )

ok, under Arch dev/devel is default for all packages.

> what dose pacman show ??

for libssl see (repeat from above)
http://aur.archlinux.org/packages.php?ID=37007
package is reported out-of-date. my question was: does it make sense to continue?

> I would NOT use Ubuntu .deb's on Arch !

I did not. I found and installed all prerequisites on my other PC under ubuntu but then the es40.org package ./configure script fails - on ubuntu.
Code:
$ sudo ./configure
This is the debug-options configuration script for the ES40 emulator
If you don't want any debugging options enabled, answer YES to the
following question

Do you want the defaults for all options? (yes, no) [yes]:
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... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for pcap library in /usr/ng/lib... found
checking for pcap header in /usr/ng/include... not here
checking for pcap header in /usr/include... found
checking whether pcap is available... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for X11 header files... checking whether to use X11... yes
checking build system type... /bin/bash: ./config.guess: No such file or directory
configure_2.sh: error: cannot guess build type; you must specify one
$
I'll try to install the prerequisites on Arch as you instructed and report back. Thank you again!

best
0li (zer0linux)

Last edited by 0li; 09-27-2010 at 03:48 PM.
 
Old 09-27-2010, 03:52 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
keep in mind that Arch was never intended for the VERY new Linux user

it is a VERY basic install ( the default is NO GUI )

If you DO WANT to learn ,it can be used ( not recommended , but?? can be done)

a few things
REGISTER at the Arch forum !!!!
read, reread , then again REREAD the wiki
study the forum and wiki as you would for a very hard collage class that YOU MUST Ace the finale exam
 
Old 09-28-2010, 01:42 PM   #5
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Original Poster
Rep: Reputation: 0
In the meantime I achieved to configure, build and run the app with the help of a friend - under ubuntu. (The build-scripts and file permissions needed some (hopefully) non-distro dependent maintenance.)
Will try later under Arch.
 
Old 02-23-2016, 12:07 PM   #6
shwsun
LQ Newbie
 
Registered: Feb 2016
Posts: 1

Rep: Reputation: Disabled
Some thoughts

I also come with this problem, however it seems like openssl is what you should install in Arch Linux.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] A problem with "LibX11-dev" msbstar Linux - Newbie 3 01-15-2010 07:24 AM
libssl.so.5 and libcrypto.so.5 needed, but got libssl.so.6?! Lobais Linux - Software 4 10-08-2008 02:59 AM
how to install libssl-dev in ubuntu 8.04.1 twinscomp Linux - Newbie 1 08-15-2008 10:12 AM
Making sdl-dev CaptSilver Linux - Newbie 2 11-16-2007 03:15 PM
Error compiling gimp-print -- not finding libssl joe_huddleston Linux - Software 2 04-02-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration