Quote:
Originally Posted by rupertwh
Instead of cluttering your PATH with every bit of software you want to run (as you would in Windows), the preferred way is to create a link in one of the standard bin directories, e.g.:
Code:
ln -s /usr/lib/mozilla-1.7.13/mozilla /usr/bin/mozilla
(or whatever the mozilla binary is called...)
|
no am giving the total output in make file library path..
it will dynamically check the mozilla version and get the perticular ".so" file..
i tried this in make file of the source code
Code:
k=" "
k=`rpm -ql mozilla | grep /usr/lib/mozilla- | tail -1 | cut -d/ -f4`
path=`whereis $k |cut -d" " -f2`
full_path="$path/$i"
i suceeded to get the path but have to implement in make file.help me.
[QUOTE]
phone_LDADD = -L$(HOME)/.g7libs -L${fullpath} -L/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lbapi -lavcodec -lportaudio -lfedoraurl -lgtkembedmoz -lxpcom -lxml2 $(INTLLIBS)
all: all-am
[QUOTE]
after make the souce... the output is like this in the terminal
[QUOTE]
gcc -g -O2 -o phone main.o support.o interface.o callbacks.o -L/root/.fedora -L"ath/" -L/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lbapi -lavcodec -/lportaudio -lfedoraurl -lgtkembedmoz -lxpcom -lxml2
[QUOTE]
actually it will be like this( i wanna this in terminal while making the sorce code)
Quote:
gcc -g -O2 -o phone main.o support.o interface.o callbacks.o -L/root/.fedora -L/usr/lib/mozilla-1.7.13 -L/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lbapi -lavcodec -lportaudio -lfedoraurl -lgtkembedmoz -lxpcom -lxml2
|
please observe the bold text.
can you please help me
thank you in advance