Question about .h files that end with dpkg-new - Raspberry Pi Forums


hi, have 3 questions hope can me with.

use crosscompiler (gcc running on windows) raspberry pi.
trying create simple gtk window.
have installed on raspbian developer version of gtk+2.0 through sudo apt-get install gtk+-2.0-dev
used pkg-config dependencies : pkg-config --cflags --libs gtk+-2.0-dev

added necessary information make file , have issues when compiling.
using pkg-config know directories include , libs need.
tried copying needed files /usr directory , trouble starts. use ubuntu virtual machine (windows 10 host) read out sd card raspbian on it. , cannot copy files through drag , drop because mentions host os windows not support symlinks. okay, that. need files symlinks point to.

first question , how do ?


second question how worked around that.
when in raspbian after booting rbpi3 , in realvnc looking around.
see files miss there in the/usr/include , /usr/lib.
installed program called linuxreader diskinternals copy necessary files need directly raspbian sd card windows directory. , works.
turns out, files seem missing when start compile. well, there have dpkg-new appended filename.
example :
atk-enum-types.h.dpkg-new
pango-font.h.dpkg-new


think linuxreader search real file , not symlink , copies file.
while symlink has proper name, think real file not.
, goes wrong. assume why when copy actual file name different while symlink appears correct.

tried sudo apt-get update , not help, no errors found.

second question is, how real files ?
still new linux understand need readlink or that.

last issue while made root account in ubunut(tried chown , chmod first, did not help), not allowed copy , compress raspbian sd card ubuntu desktop.
have say. linux beginner such i, raspbian more user friendly , intuitive ubunutu is.

third question how ubunut in such shape can drag , drop files virtual vmware folder, can drag , drop files mouse ?

i started raspbian , used commands readlink -f ,file , stat and ls , seem confirm example : pango-font.h real c file , not symlink.
why dpkg-new appended file when copy ?

whole thing is, have no issue renaming files. when file has dpkg-new appended it, went wrong apt-get. , have no idea hot solve that. :|


raspberrypi



Comments