Hi, Am trying to add some Debug statement to smbd, for example in service.c. But problem is when I recomplile and make install, smbd doesnt get updated with that code. problem here is this smbd executable(usr/sbin/smbd) doesnt get updated with the latest install. please help.. Regards, Samid. _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com
You may need to run configure with some options... otherwise the smbd built executable will go in /usr/local/samba/sbin (configure --help for more info) -----Original Message----- From: samba-bounces+jmason=lim.com@lists.samba.org [mailto:samba-bounces+jmason=lim.com@lists.samba.org] On Behalf Of samid Sent: Wednesday, August 09, 2006 1:20 AM To: samba@lists.samba.org Subject: [Samba] Regarding samba compilation Hi, Am trying to add some Debug statement to smbd, for example in service.c. But problem is when I recomplile and make install, smbd doesnt get updated with that code. problem here is this smbd executable(usr/sbin/smbd) doesnt get updated with the latest install. please help.. Regards, Samid. _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 samid wrote:> > Hi, > Am trying to add some Debug statement to smbd, for > example in service.c. But problem is when I > recomplile and make install, smbd doesnt get updated > with that code. problem here is this smbd > executable(usr/sbin/smbd) doesnt get updated > with the latest install. please help..For development, I never use make install. Just run source/bin/smbd manually. It's quicker and easier. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2dW5IR7qMdg1EfYRAl+KAJ4yQAG+AR6xFKIgOMaBD3+QBT9YPQCfbJel IEE+aHczF6fOLVTNP/X5Vqs=EDOt -----END PGP SIGNATURE-----
On Wed, 9 Aug 2006, samid wrote:> Am trying to add some Debug statement to smbd, for example in service.c. > But problem is when I recomplile and make install, smbd doesnt get updated > with that code. problem here is this smbd executable(usr/sbin/smbd) doesnt > get updated with the latest install. please help..I would try to isolate the problem. Is smbd getting built correctly and incorporating your changes? Run "strings smbd" and see if your debug message is in the version that's built after you do "make". Also, check and see where smbd is being installed by "make install". I would do this by doing "make install > make.install.log 2>&1". Then run "grep smbd make.install.log" or look through it with "less" or your favorite text editor and see what path it really installs to. - Logan