Why "apt-file search wx-config" not find? (Debian Lenny)
I am confused, I need to figure out how apt-file works.
I (like somebody else) needed to figure out which package wx-config is in.
Which package makes a link?
Also why wx-common NOT depends on libwxgtk2.6-dev.
I am confident that I misunderstand something. I just need to figure out.
"wx-config" should be configured automatically when
installing libwxgtk2.6-dev ( or libwxgtk2.8-dev )
/usr/bin/wx-config is a link to
'/etc/alternatives/wx-config' which is a link to
which is from package 'libwxgtk2.8-dev' ( 2.6 )
There is no file by name 'wx-config' in the package
libwxgtk2.8-dev, the link is written by one of
the install scripts in the package, so no search
will do, looking in a debian package base, neither
local or on the internet.
Usual method to configure wx-config ( has to be
done when changing from 2.8 to 2.6 or vice versa,
some apps use 2.6, some 2.8 for compiling ) :
# 'update-alternatives --config wx-config'
'libwxgtk2.8-dev' depends on 'libwxbase2.8-0'
'libwxbase2.8-dev' .. 'libwxgtk2.8-0'
'wx2.8-headers' . Likewise for 2.6
'wx-common' isn't needed by any of the above,
but will itself depend on 'libwxbase2.6-0'
Try the command 'dpkg --listfiles wx-common'
to display the very few files contained in the
So 'wx-common' is an almost stand alone package
probably only needed when writing new programs
Thanks for prompt reply.
Now I know that wx-config pops out while libwxgtk-dev is installed. So, online manual and link itself belong to different package.
Is there any apt-command to know this?
PS. The other day, I was playing around with link to different gcc's (3.3, 3.2, 3.1..), then had hard time to restore to original condition. I assume it is similar nature.
No, the link does not belong to another pakage,
it is written by the script 'postinst' in the
Neither will 'grep' or 'lesspipe.sh', searching direct
into the downloaded package itself.
About gcc and links : The default installed, the one for
kernel compilation, etc., ( in my Debian Lenny gcc-4.1.1 )
has links gcc and cc.
And no reason to change that, using other compilers.
Examples commands to call a different compiler :
1) 'gcc-3.3.6 my_code.c -o object.o'
2) 'CC=gcc-3.3.6 ./configure'
'CC=gcc-3.3.6 make' .. ''CXX=g++-3.3.6 make'
'CC=gcc-3.3.6 CXX=g++-3.3.6 ./configure' ( or make )
|All times are GMT -5. The time now is 09:59 AM.|