Although I suspect that the reason you cannot install python2.7-dev is that you have already installed python2.7-dev:i386 which is conflict with python2.7-dev:amd64, you should show the error message when you are trying to install python2.7-dev to make things clearer.
On 12 February 2016 at 22:38, punit vara <punitv...@gmail.com> wrote: > On Fri, Feb 12, 2016 at 3:21 AM, Jason Wong <jason.hcw...@gmail.com> > wrote: > > I am using a docker image running Ubuntu 15.10, I have no problem > installing > > both "python2.7-dev" and "libpython2.7-dev". > > According to apt-cache, "python2.7-dev" depends on "python2.7". > > If you install "python2.7-dev", then "python2.7" should be automatically > > installed. > > Perhaps you should show us the message you got when you try to install > > "python2.7-dev", and you should also report the problem to ubuntu > community > > as well. > > > > root@c0e8f7d4cae3:/# apt-cache depends python2.7-dev > > python2.7-dev > > Depends: python2.7 > > Depends: libpython2.7-dev > > Depends: libpython2.7 > > Depends: libexpat1-dev > > |Recommends: libc6-dev > > Recommends: <libc-dev> > > libc6-dev > > Replaces: python2.7 > > > > > > On 11 February 2016 at 19:44, punit vara <punitv...@gmail.com> wrote: > >> > >> On Wed, Feb 10, 2016 at 11:45 PM, Joel Sherrill <j...@rtems.org> wrote: > >> > We need the config.log from the subdirectory where the failure > occurred. > >> > This looks like one from the top directory, > >> > > >> > Look at the build log to see what directory the build failed in and > grab > >> > that one. > >> > > >> > FWIW a quick google for this issue on Ubuntu showed someone suggested: > >> > > >> > sudo apt-get install python-dev > >> > > >> > Have you done that? > >> > > >> > --joel > >> > > >> > On Wed, Feb 10, 2016 at 11:50 AM, punit vara <punitv...@gmail.com> > >> > wrote: > >> >> > >> >> On Tue, Feb 9, 2016 at 8:21 PM, Joel Sherrill <j...@rtems.org> > wrote: > >> >> > > >> >> > > >> >> > On Tue, Feb 9, 2016 at 8:15 AM, punit vara <punitv...@gmail.com> > >> >> > wrote: > >> >> >> > >> >> >> On Tue, Feb 9, 2016 at 6:56 PM, Aun-Ali Zaidi <ad...@kodeit.net> > >> >> >> wrote: > >> >> >> > Hi, > >> >> >> > > >> >> >> > I was having the same problem yesterday and managed to find a > fix > >> >> >> > by > >> >> >> > installing libpython2.7-dev: > >> >> >> > > >> >> >> > sudo apt-get install libpython2.7-dev > >> >> >> > > >> >> >> > Aun-Ali Zaidi > >> >> >> > > >> >> >> > >> >> >> Thanks Aun-Ali. I have tried but again I am getting same error. > >> >> >> Because this package would get installed when you install > >> >> >> python2.7-dev > >> >> > > >> >> > > >> >> > Can you look in the config.log for gdb where the failure occurred? > Or > >> >> > even > >> >> > at the configure.in/ac script in its source. It is looking for a > very > >> >> > specific > >> >> > file to link against and failing. > >> >> > > >> >> > yum have a "provides" subcommand to search for which package > provides > >> >> > a specific file. Apt must have a similar capability. > >> >> > > >> >> > So you can figure out the file gdb needs to link and the > >> >> > corresponding > >> >> > package which includes it. > >> >> > > >> >> > --joel > >> >> > > >> >> >> > >> >> >> _______________________________________________ > >> >> >> devel mailing list > >> >> >> devel@rtems.org > >> >> >> http://lists.rtems.org/mailman/listinfo/devel > >> >> > > >> >> > > >> >> > >> >> Yes I agree with you Joel. From line 129 I found errors if you can > >> >> help me out. Perhaps somebody can help me I am attaching config.log > >> >> file from > >> >> > >> >> > >> >> > >> >> > /home/punit/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.12-gdb-7.9-x86_64-linux-gnu-1/build > >> > > >> > > >> Yes I tried that before but same error. I am attaching log file I > >> have sent config.log from failure subdirectory. I have provided > >> location in previous mail which is the same as shown in this log file. > >> If I am wrong let me. > >> > >> Thanks for support. > >> > >> _______________________________________________ > >> devel mailing list > >> devel@rtems.org > >> http://lists.rtems.org/mailman/listinfo/devel > > > > > > > > > > -- > > Regards, > > Jason Wong > root@punit-Compaq-420:~# apt-cache depends python2.7-dev > python2.7-dev > Depends: python2.7 > Depends: libpython2.7-dev > Depends: libpython2.7 > Depends: libexpat1-dev > |Recommends: libc6-dev > Recommends: <libc-dev> > libc6-dev > Replaces: python2.7 > Replaces: python2.7:i386 > Conflicts: python2.7-dev:i386 > > Thanks Jason this is really helpful. I am attaching log file as well . > How did you solve python missing error. I have found some linking > error and some header file error. Please look into it. I have already > asked to ubuntu community but not yet got any answer. > -- Regards, Jason Wong
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel