LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2016, 02:04 AM   #1
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Rep: Reputation: Disabled
These packages failed to build: gtk2


hello everyone,
i have starting the cross compile opencv for ARM via LTIB but i m stuck for
following error ==>

checking for X... no
configure: error: X development libraries not found
error: Bad exit status from
/home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/tmp/rpm
-tmp.98927

These packages failed to build:
gtk2

can anyone know how to resolved this issue??
 
Old 02-18-2016, 05:27 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,285

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
configure: error: X development libraries not found
gtk2 need an X window to run on, but you don't have the libs installed. Build it after you build X. You may need -devel packages depending on your distro.
 
1 members found this post helpful.
Old 02-18-2016, 06:19 AM   #3
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
hello thanls for your reply...i have select for X11 package and i got this error after selecting requried X11 libraries i cant understand this error==>

/bin/bash: no: command not found
make[2]: *** [test-inline-pixbufs.h] Error 1
make[2]: Leaving directory `/home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/rpm/BUILD/gtk+-2.14.3/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/rpm/BUILD/gtk+-2.14.3'
make: *** [all] Error 2
error: Bad exit status from /home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/tmp/rpm-tmp.17339 (%build)


RPM build errors:
Bad exit status from /home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/tmp/rpm-tmp.17339 (%build)
Build time for gtk2: 227 seconds

Failed building gtk2


f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Thu Feb 18 17:43:26 2016
Ended: Thu Feb 18 17:47:14 2016
Elapsed: 228 seconds

These packages failed to build:
gtk2

Build Failed
 
Old 02-19-2016, 12:40 AM   #4
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
hello, gtk2 issue was solved by "sudo apt-get install libgtk2.0-dev" and remove the package in ltib folder /ltib/rpm/BUILD/gtk

now i am facing new error ==>

./arm-fsl-linux-gnueabi/bin/ld: cannot find -lgssapi_krb5
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lkrb5
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lk5crypto
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lcom_err
collect2: ld returned 1 exit status
make[2]: *** [libftp.la] Error 1



These packages failed to build:
gnome-vfs
 
Old 02-19-2016, 04:56 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,285

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
./arm-fsl-linux-gnueabi/bin/ld: cannot find -lgssapi_krb5
/bin/ld: cannot find -lkrb5
/bin/ld: cannot find -lk5crypto
/bin/ld: cannot find -lcom_err
make[2]: *** [libftp.la] Error 1
libftp.la? Is that a static lib? You may get past that with --disable-static in the configure, but the linker cannot find stuff, and you won't get far that way. Google the errors and find what you're missing - libssl maybe, or something kerebos related.

And when you're cross compiling, EXPECT PAIN. You will get it. Exhaust google before asking.
 
Old 02-19-2016, 05:37 AM   #6
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
hi solved this issue now...by removing krb package and gnome-vfs build succesfully but now cant solve...



checking for arm-linux-strip... arm-linux-strip
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bigreqsproto.pc
+ make
make: Nothing to be done for `all'.
+ mv COPYING COPYING-bigreqsproto
mv: cannot stat `COPYING': No such file or directory
error: Bad exit status from /home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/tmp/rpm-tmp.10623 (%build)


RPM build errors:
Bad exit status from /home/surekha/Documents/SACHIN/LTIB/L3.0.35_4.1.0_130816_source/yes/ltib/tmp/rpm-tmp.10623 (%build)
Build time for xorg-x11-proto-devel: 2 seconds

Failed building xorg-x11-proto-devel


f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Fri Feb 19 17:07:11 2016
Ended: Fri Feb 19 17:07:17 2016
Elapsed: 6 seconds

These packages failed to build:
xorg-x11-proto-devel

Build Failed
 
Old 02-19-2016, 06:27 AM   #7
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
hey again from Exhausting google solved this issue....
 
Old 02-19-2016, 06:40 AM   #8
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
hi now i am reaching my target for cross compile opencv via LTIB but following are the net connection issue cant get it...

Processing: opencv
====================
Build path taken because: no prebuilt rpm,
Testing network connectivity
OK GPP:

Try opencv-1.1.0.tar.gz.md5 from the GPP
http://bitshrine.org/gpp/opencv-1.1.0.tar.gz.md5:
18:07:44 ERROR 404: Not Found.
Try opencv-1.1.0.tar.gz from the GPP
http://bitshrine.org/gpp/opencv-1.1.0.tar.gz:
18:07:45 ERROR 404: Not Found.
Can't get: opencv-1.1.0.tar.gz at ./ltib line 802.


f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Fri Feb 19 18:07:41 2016
Ended: Fri Feb 19 18:07:45 2016
Elapsed: 4 seconds

These packages failed to build:
opencv

Build Failed

how to fix it?
 
Old 02-20-2016, 04:34 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,285

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I don't know bitshine. The homepage is opencv.willowgarage.com, buut is not responding. Opencv-1.1pre1.tar.gz is on sourceforge, and I suggest you get it there.
 
Old 02-20-2016, 08:14 AM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
WOW ~ you'll find getting all of them errors when you're compiling source is a good thing, actaully. Because all it is really telling you is what developer packages, dependces you are missing. As I think you're finding out.

it needs the header files so that it can use them to get the definitions to all of the functions within the code itself. In order to know how to handle the function calls.

Same Function Name two different functions.
Code:
int getData ( data type f, data type x);
char getData (data type d, data type x, data type y);
It has to know which one to use and how, it uses the definitions within the header files to sort it out by matching the function call within the code itself, to the function definitions within the header file. short explanation.

Last edited by BW-userx; 02-20-2016 at 08:15 AM.
 
Old 02-20-2016, 08:19 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
oh and I think I noticed is it you again? in a different post doing the same thing.

look here in sourceForge

opencvlibrary/files

do you know how I found it ?

by following my own advice I gave you to do...

Last edited by BW-userx; 02-20-2016 at 08:32 AM.
 
Old 02-22-2016, 03:58 AM   #12
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
now while i burn the my creted rootfs (in ltib folder)into my board then maximum commands are not working like
ls,mkdir,mount etc do u know what is the issue?
 
Old 02-22-2016, 01:25 PM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,285

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Lack of a proper path, presuming they're properly installed. Try these 2 separately
Code:
echo $PATH
Code:
ldd /path/to/dodgy/executable |grep found
The first shows the path the system searches. The second checks each executable you fill in for missing libs, and lists them
 
  


Reply

Tags
gtk2



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
SBCL build from slack builds fails to build - failed contribs sb-bsd-sockets sunlight Slackware 3 11-07-2015 04:31 PM
[SOLVED] boost-build failed to build engine Red Hat 4.1.2 and GCC 4.1.2 Fritz_Doll Programming 2 08-10-2012 02:00 PM
LXer: Build Spice-Gtk-0.6 (GTK2 & GTK3) on Ubuntu 11.10 (Oneiric) LXer Syndicated Linux News 0 06-28-2011 11:51 AM
How to build Firefox with gtk2 integration reddazz *BSD 1 11-09-2005 11:47 AM
failed dependency while trying to install gtk2-2.2.2-2.0 kinghari Linux - Newbie 2 10-17-2003 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 PM.

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