LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-20-2006, 05:16 PM   #1
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Rep: Reputation: 30
easy_17 script error. what's this work around mean?


I found a popular script which can be used on many Linux distros to download and install E17. Some interesting information about this script can be found where I got it from, http://www.google.ca/url?sa=U&start=...jects/&e=15206

However, a missing library is preventing the install from completion:
Code:
bash-3.1# bash easy_e17.sh -i

#############################################################################
#             easy_e17.sh (1.0.3) by Brian 'morlenxus' Miculcy              #
#                                                                           #
#                       Thanks for supplying patches:                       #
#                           David 'onefang' Seikel                          #
#                           Tim 'wtfoo' Zebulla                             #
#                                                                           #
#    This is the result of the ideas from the people of #e.de - join us.    #
# Updates: http://omicron.homeip.net/projects/ | Contact: morlenxus@gmx.net #
#############################################################################


CURRENT CONFIGURATION:
  - install-path:     /opt/e17
  - cvs-path:         /root/e17_cvs
  - logs-path:        /tmp/easy_e17/install_logs
  - nice level:       0

  - installable libs:     imlib2 edb eet evas ecore epeg embryo edje epsilon esmart emotion ewl engrave exml
  - installable apps:     entrance e eclair evfs e_utils
  - installable misc:     engage scrot
  - installable proto:    etk etk_server edje_viewer enhance empower entropy ephoto etk_server exhibit extrackt
  - installable modules:  bling calendar cpu deskshow devian emu eveil evolume flame language mail mbar mem moon net rain screenshot slideshow snow taskbar tclock uptime weather wlan
  - skipping:             -

  - script action:        install


BUILD PHASE: 1/3
  - running some basic system checks
  - cvs checkout/update

#############################################################################



BASIC SYSTEM CHECKS:
-----------------------------------------------------------------------------
- cvs-dir .................... ok
- creating script dirs ....... ok
- build-user ................. invert (non-root)
- sudo available ............. enter sudo-password:
- adding path to env ......... ok
- checking lib-path in ldc ... ok (/etc/ld.so.conf)
- setting compile options .... ok
-----------------------------------------------------------------------------

CVS CHECKOUT/UPDATE:
-----------------------------------------------------------------------------
Updating source for 'e17' (please wait, this won't output much) ...
Updating source for 'misc' (please wait, this won't output much) ...
Updating source for 'e_modules' (please wait, this won't output much) ...
-----------------------------------------------------------------------------



#############################################################################
#             easy_e17.sh (1.0.3) by Brian 'morlenxus' Miculcy              #
#                                                                           #
#                       Thanks for supplying patches:                       #
#                           David 'onefang' Seikel                          #
#                           Tim 'wtfoo' Zebulla                             #
#                                                                           #
#    This is the result of the ideas from the people of #e.de - join us.    #
# Updates: http://omicron.homeip.net/projects/ | Contact: morlenxus@gmx.net #
#############################################################################


CURRENT CONFIGURATION:
  - install-path:     /opt/e17
  - cvs-path:         /root/e17_cvs
  - logs-path:        /tmp/easy_e17/install_logs
  - nice level:       0

  - installable libs:     imlib2 edb eet evas ecore epeg embryo edje epsilon esmart emotion ewl engrave exml
  - installable apps:     entrance e eclair evfs e_utils
  - installable misc:     engage scrot
  - installable proto:    etk etk_server edje_viewer enhance empower entropy ephoto etk_server exhibit extrackt
  - installable modules:  bling calendar cpu deskshow devian emu eveil evolume flame language mail mbar mem moon net rain screenshot slideshow snow taskbar tclock uptime weather wlan
  - skipping:             -

  - script action:        install


BUILD PHASE: 2/3
  - lib-compilation and installation
  - apps-compilation and installation

#############################################################################



LIB-COMPILATION AND INSTALLATION:
-----------------------------------------------------------------------------
- imlib2 ..................... previous installed
- edb ........................ previous installed
- eet ........................ previous installed
- evas ....................... previous installed
- ecore ...................... previous installed
- epeg ....................... previous installed
- embryo ..................... previous installed
- edje ....................... previous installed
- epsilon .................... previous installed
- esmart ..................... previous installed
- emotion .................... previous installed
- ewl ........................ previous installed
- engrave .................... previous installed
- exml ....................... previous installed
-----------------------------------------------------------------------------

APPS-COMPILATION AND INSTALLATION:
-----------------------------------------------------------------------------
- entrance ................... previous installed
- e .......................... previous installed
- eclair ..................... ERROR!
-----------------------------------------------------------------------------

LAST LOGLINES FROM /tmp/easy_e17/install_logs/eclair.log:
-----------------------------------------------------------------------------
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for taglib-config... /usr/bin/taglib-config
checking taglib/tag_c.h usability... yes
checking taglib/tag_c.h presence... yes
checking for taglib/tag_c.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SQLITE... configure: error: Package requirements (sqlite3) were not met:

No package 'sqlite3' 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 SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

-----------------------------------------------------------------------------


bash-3.1#
bash-3.1# exit
exit
bash-3.1$
So I Google the sqlite and download and compile the application from this link, http://www.sqlite.org/download.html

After installing both version of sqlite I get the same errors with that easy_e17 script. Now for my question. According to the error message there is some kind of aleterate work-around which I don't understand. The alternative reads:
Quote:
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
What exactly does this mean? Where do I modify my CFLAG variables?
 
Old 07-20-2006, 05:27 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Maybe you will have to add /usr/local/lib to your library path - if you compiled sqlite yourself chances are it got installed into /usr/local . The configure program must be made aware of that fact.

Another solution would be to try the Slackware packages for E17 that are maintained here: http://slacke17.sourceforge.net/

Eric
 
Old 07-20-2006, 05:34 PM   #3
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob
Maybe you will have to add /usr/local/lib to your library path - if you compiled sqlite yourself chances are it got installed into /usr/local . The configure program must be made aware of that fact.

Another solution would be to try the Slackware packages for E17 that are maintained here: http://slacke17.sourceforge.net/

Eric
Before I install the sf slackages, I'd really like to try getting this script to work. Eric, you've explain clearly that I need to add /usr/local/lib to my library path. But how exactly do I do that?
 
Old 07-20-2006, 09:50 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Add the line "/usr/local/lib" to your /etc/ld.so.conf file if it isn't already present.
Then run the command "ldconf". It possible that the sqlite3 installation didn't do this, or maybe it just didn't run "ldconfig".
 
Old 07-21-2006, 12:04 AM   #5
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jschiwal
Add the line "/usr/local/lib" to your /etc/ld.so.conf file if it isn't already present.
Then run the command "ldconf". It possible that the sqlite3 installation didn't do this, or maybe it just didn't run "ldconfig".
hmm, my ld.so.conf looks like this:
Code:
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/opt/e17/lib
I ran ldconfig anyways but the same sqlite3 dependency apparently doesn't exist. Is there another possible explanation for why the script doesn't recognize the existence of sqlite3?

edit: sp x2

Last edited by Drone4four; 07-21-2006 at 08:01 PM.
 
Old 07-21-2006, 10:13 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check the README file and INSTALL file for the version of sqlite that is expected. Look in /usr/local/lib and see it the library file is indeed where you think it is.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Script Refuses to Work. Zaiachkowski Linux - General 3 06-13-2006 03:58 PM
error when tying to run python script(bash error?) shanenin Programming 5 01-10-2006 11:01 AM
azureus script won't work ungua Linux - Software 7 10-04-2004 01:34 PM
linux 9 and java script error - premature end of script header sibil Linux - Newbie 0 01-06-2004 05:21 PM
script won't work klintonray Linux - Software 6 07-26-2003 12:44 AM

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

All times are GMT -5. The time now is 12:31 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