[gentoo-user] ssmtp and php mail()
hello everybody!.. trying to use mail() + ssmtp in a php script but no way.. my host: pc-0001.localarea mail server: pc-0004.localarea I can send mail to remote smtp server thru ssmtp (and its alias sendmail) via command line (and can also pop back to my client), but if I try from php, the apache log says sendmail: No recipients supplied - mail will not be sent. Note that php condition is true. any help?? thanks, Stefano. here my files: ? /* php script: */ mail([EMAIL PROTECTED],subject,text); if(mail([EMAIL PROTECTED],soggetto,testo)) echo mail sent; ? # # /etc/ssmtp.conf -- a config file for sSMTP sendmail. # # The person who gets all mail for userids 1000 # Make this empty to disable rewriting. [EMAIL PROTECTED] # The place where the mail goes. The actual machine name is required # no MX records are consulted. Commonly mailhosts are named mail.domain.com # The example will fit if you are in domain.com and your mailhub is so named. mailhub=pc-0004.localarea # Example for SMTP port number 2525 # mailhub=mail.your.domain:2525 # Example for SMTP port number 25 (Standard/RFC) # mailhub=mail.your.domain # Example for SSL encrypted connection # mailhub=mail.your.domain:465 # Where will the mail seem to come from? rewriteDomain= # The full hostname # Gentoo bug #47562 # Commenting the following line will force ssmtp to figure # out the hostname itself. # hostname=_HOSTNAME_ # Set this to never rewrite the From: line (unless not given) and to # use that address in the from line of the envelope. #FromLineOverride=YES # Use SSL/TLS to send secure messages to server. #UseTLS=YES # Use SSL/TLS certificate to authenticate against smtp host. #UseTLSCert=YES # Use this RSA certificate. #TLSCert=/etc/ssl/certs/ssmtp.pem * # /etc/ssmtp/revaliases # sSMTP aliases root:[EMAIL PROTECTED]:pc-0004.localarea * #/etc/php/apache2-php5/php.ini #/etc/php/cli-php5/php.ini [mail function] ; For Win32 only. ;SMTP = localhost ;smtp_port = 25 ; For Win32 only. ;sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: sendmail -t -i). sendmail_path=/usr/sbin/sendmail ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters = -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pygame, framebuffer SDL_SysWMinfo has no member named 'info'
Alle 08:04, lunedì 2 ottobre 2006, Andresen ha scritto: You really should search bugzilla instead... http://bugs.gentoo.org/show_bug.cgi?id=89486 Great! According to your link, I added #define DISABLE_X11 into /usr/include/SDL/SDL_syswm.h it then compiles withour x11 support. Thanks Bo Ørsted. -- gentoo-user@gentoo.org mailing list
[gentoo-user] pygame, framebuffer SDL_SysWMinfo has no member named 'info'
Hello everybody ! I was going to install a Gentoo box without X (framebuffer only) + Freevo. Pygame is needed by the ebuild, but no way to install: here is the log: -- ... In file included from /usr/include/python2.4/Python.h:13, from src/pygame.h:57, from src/display.c:27: /usr/include/python2.4/pyconfig.h:826:1: warning: _GNU_SOURCE redefined command line:1:1: warning: this is the location of the previous definition src/display.c: In function 'get_wm_info': src/display.c:388: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:389: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:390: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:391: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:392: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:393: error: 'SDL_SysWMinfo' has no member named 'info' error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/pygame-1.6.2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called distutils_src_compile distutils.eclass, line 38: Called die -- here my make.conf USE flags: -- USE=fbcon joystick reiser4 reiserfs sdl sdl-sound -ipv6 -xorg -- -- any help? Stefano -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerging mplayer with compile option --without-x
hello! I need to emerge mplayer and mythtv without x, framebuffer only. How can I pass --without-x and other options to ./configure during emerge process? (-x in USE flag does not work: 'emerge mplayer' still needs xorg...) thanks.. Stefano. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerging mplayer with compile option --without-x
Just to get the obvious out of the way, the USE flag is X (uppercase), not x (lower case). Was that a typo? It should work with -X set in either /etc/make.conf or /etc/portage/package.use (for mPlayer only). yes: I use ufed so no way to get a wrong make.conf.. You'd probably also want +fbcon-- here is my USE: bluetooth bootsplash cdrom divx4linux dv dvb dvd dvdr dvdread fb fbcon ffmpeg freetype ieee1394 image imlib2 irda matrox mixer mjpeg mod mplayer mythtv network nfs rar real reiserfs subp subtitles usb v4l v4l2 vcd win32codecs -X -arts -berkdb -bitmap-fonts -emboss -foomaticdb -gnome -gpm -gtk -gtk2 -imlib -ipv6 -kde -libg++ -motif -nls -oggvorbis -opengl -oss -pdflib -perl -qt -spell -truetype -truetype-fonts -type1-fonts -xml2 -xmms -xv useflag fbcon /usr/portage/profiles/use.desc:fbcon - Adds framebuffer support for the console, via the kernel ... and of course you'd want an appropriate framebuffer driver compiled into your kernel, and the modules for said framebuffer device loaded. fb side looks ok Hope this helps, Holly thanks... stefano -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerging mplayer with compile option --without-x
Alle 11:56, giovedì 23 giugno 2005, azz ha scritto: CMIIW, i think it's USE=-gtk emerge -av mplayer hereis the result on my side: - Calculating dependencies ...done! [ebuild N] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow -bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers -ipv6 -minimal -mmx -nls -opengl +pam -sdk -sse -static -truetype-fonts -type1-fonts (-uclibc) -xprint -xv 0 kB [ebuild N] app-arch/rpm2targz-9.0-r2 2 kB [ebuild N] sys-apps/utempter-0.5.5.5-r1 -debug 20 kB [ebuild N] x11-terms/xterm-200-r3 -Xaw3d -debug -toolbar -truetype -unicode 681 kB [ebuild NS ] dev-libs/glib-2.6.4 -debug -doc -hardened -static 2,321 kB [ebuild N] x11-libs/pango-1.8.1 -debug -doc -static 973 kB [ebuild N] dev-libs/atk-1.9.1 -debug -doc -static 472 kB [ebuild N] dev-perl/XML-Parser-2.34 224 kB [ebuild N] dev-util/intltool-0.31.2 121 kB [ebuild N] dev-libs/libxml2-2.6.17 -debug -ipv6 +python +readline 2,995 kB [ebuild N] x11-misc/shared-mime-info-0.16 735 kB [ebuild N] x11-libs/gtk+-2.6.7 -debug -doc +jpeg -static -tiff 11,174 kB [ebuild N] media-video/realplayer-10.0.4 -mozilla 6,486 kB [ebuild N] sys-libs/lib-compat-1.4 +sdl 3,090 kB [ebuild N] media-libs/divx4linux-20030428-r1 405 kB [ebuild N] media-video/mplayer-1.0_pre6-r4 -3dfx -3dnow -3dnowext -X -aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug -dga -directfb +divx4linux -doc -dts +dv +dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi +gif -gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad -matroska+matrox -mmx -mmxext +mpeg +mythtv -nas -nls -nvidia -oggvorbis -opengl -oss +png +real -rtc -samba +sdl -sse -sse2 +svga -tga -theora -truetype +v4l +v4l2 -xanim -xinerama -xmms -xv -xvid -xvmc 6,927 kB --- xorg still there... still cannot understand how to merge compile options and USE flag in an emerge statement... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerging mplayer with compile option --without-x
I could be wrong-- and an emerge --tree would be more helpful here, but is it possible to compile realplayer -X? I don't think so; I think realplayer is what depends on X, and so it's the +real in the mplayer USE flags that's bringing it in. Just a second, let me check... the realplayer ebuild depends on MY_PN=RealPlayer DESCRIPTION=Real Media Player HOMEPAGE=https://player.helixcommunity.org/2004/downloads/; SRC_URI=https://helixcommunity.org/download.php/1145/${MY_PN}-${PV}.750-20050401.i586.rpm; LICENSE=HBRL SLOT=0 KEYWORDS=-* x86 ~amd64 IUSE=mozilla # take this out until I get the realplayer source # build sorted out. - ChrisWhite # RDEPEND=!media-video/realplayer RDEPEND==dev-libs/glib-2 =x11-libs/pango-1.2 =x11-libs/gtk+-2.2 amd64? ( app-emulation/emul-linux-x86-gtklibs ) and the GTK (2.6.8) ebuild depends on RDEPEND=virtual/x11 =dev-libs/glib-2.6 =dev-libs/atk-1.0.1 =x11-libs/pango-1.8 x11-misc/shared-mime-info =media-libs/libpng-1.2.1 jpeg? ( =media-libs/jpeg-6b-r2 ) tiff? ( =media-libs/tiff-3.5.7 ) So, yes, the realplayer cannot be built without gtk, which in turn depends on X. So maybe try taking the real out of the mplayer USE flags, and it should work fine. You would then be giving up the capability of playing Real files, but there might be codecs available that would give you this without needing to install RealPlayer (and therefore X). Check the mPlayer site. HTH, Holly right! I reassigned USE values from scratch and now works. It helped also reading the script (/usr/portage/media-video/mplayer/mplayer-1.0_pre6-r4.ebuild): ... if use !gtk use !X use !xv use !xinerama; then myconf=${myconf} --disable-gui --disable-x11 --disable-xv --disable-xmga --disable-xinerama --disable-vm --disable-xvmc else ... thank you all..! -- gentoo-user@gentoo.org mailing list