Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
i want to know about installing an Exim server and i cant use yum and rpm .installation is possible from source code only
Again, you don't say WHY you can't use RPM/yum, what version/distro of Linux you're using, etc. But the instructions for installing exim from source are essentially the same as your OTHER thread, where you ask about bind: YOU NEED TO READ THE INSTRUCTIONS.
i am doing internship in a company .their are strict instruction to use source files only for installation
Sorry, go back to your other thread where this makes no sense. Also, you STILL don't tell us what version/distro of Linux you're using, and STILL need to read the instructions.
If you can't/won't read and follow the instructions, it's pointless to post threads like this. We'll be happy to help you with an actual PROBLEM, but you don't have one...you're not doing anything, just asking us to look up and retype instructions for you.
i want to know about installing an Exim server and i cant use yum and rpm
buy the current "Linux From Scratch" BOOK
and then build LFS
then you will know how
also READ YOUR OTHER POSTS!!!!!!
LIKE THE ONE FOR BIND
Installing the WHOLE "gcc / autotools " software group ( it is a NEEDED prerequisite for EVERYTHING) FROM source is pointless on redhat
but if you MUST
then build Linux from Scratch and use that
i am getting an error message when installing exim
]# make
/bin/sh scripts/source_checks
>>> Creating lookups/Makefile for building dynamic modules
>>> New Makefile & lookups/Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile
make[1]: Entering directory `/source/exim-4.82/build-Linux-i386'
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/source/exim-4.82/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/source/exim-4.82/build-Linux-i386'
Building configuration file config.h
>>> config.h built
>>> version 4.82 #28
/bin/sh ../scripts/Configure-eximon
>>> eximon script built
cc -DCOMPILE_UTILITY spool_in.c
cc -DCOMPILE_UTILITY store.c
cc -DCOMPILE_UTILITY string.c
cc tod.c
cc tree.c
cc exim_monitor/em_StripChart.c
../exim_monitor/em_StripChart.c:40:28: error: X11/IntrinsicP.h: No such file or directory
../exim_monitor/em_StripChart.c:41:28: error: X11/StringDefs.h: No such file or directory
../exim_monitor/em_StripChart.c:42:29: error: X11/Xaw/XawInit.h: No such file or directory
../exim_monitor/em_StripChart.c:43:32: error: X11/Xaw/StripCharP.h: No such file or directory
../exim_monitor/em_StripChart.c:44:24: error: X11/Xfuncs.h: No such file or directory
../exim_monitor/em_StripChart.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resources’
../exim_monitor/em_StripChart.c:75: error: expected ‘)’ before ‘unsigned’
../exim_monitor/em_StripChart.c:76: error: expected ‘)’ before ‘unsigned’
../exim_monitor/em_StripChart.c:78: warning: parameter names (without types) in function declaration
../exim_monitor/em_StripChart.c:79: warning: parameter names (without types) in function declaration
../exim_monitor/em_StripChart.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SetValues’
../exim_monitor/em_StripChart.c:82: error: expected ‘)’ before ‘int’
../exim_monitor/em_StripChart.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stripChartClassRec’
../exim_monitor/em_StripChart.c:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mystripChartWidgetClass’
../exim_monitor/em_StripChart.c: In function ‘CreateGC’:
../exim_monitor/em_StripChart.c:145: error: expected declaration specifiers before ‘StripChartWidget’
../exim_monitor/em_StripChart.c:148: error: ‘XGCValues’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:148: error: (Each undeclared identifier is reported only once
../exim_monitor/em_StripChart.c:148: error: for each function it appears in.)
../exim_monitor/em_StripChart.c:148: error: expected ‘;’ before ‘myXGCV’
../exim_monitor/em_StripChart.c:150: error: ‘FOREGROUND’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:151: error: ‘myXGCV’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:151: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:152: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:152: error: ‘Widget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:152: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:155: error: ‘HIGHLIGHT’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:156: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:157: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:157: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c: In function ‘DestroyGC’:
../exim_monitor/em_StripChart.c:170: error: expected declaration specifiers before ‘StripChartWidget’
../exim_monitor/em_StripChart.c:173: error: ‘FOREGROUND’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:174: error: ‘Widget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:174: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:176: error: ‘HIGHLIGHT’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:177: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c: In function ‘Initialize’:
../exim_monitor/em_StripChart.c:182: error: expected declaration specifiers before ‘Widget’
../exim_monitor/em_StripChart.c:184: error: ‘StripChartWidget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:184: error: expected ‘;’ before ‘w’
../exim_monitor/em_StripChart.c:186: error: ‘w’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:190: error: ‘XtPointer’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:190: error: expected ‘)’ before ‘gnew’
../exim_monitor/em_StripChart.c:191: error: ‘ALL_GCS’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c: In function ‘Destroy’:
../exim_monitor/em_StripChart.c:201: error: expected declaration specifiers before ‘Widget’
../exim_monitor/em_StripChart.c:203: error: ‘StripChartWidget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:203: error: expected ‘;’ before ‘w’
../exim_monitor/em_StripChart.c:205: error: ‘w’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:209: error: ‘ALL_GCS’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c: In function ‘Redisplay’:
../exim_monitor/em_StripChart.c:220: error: expected declaration specifiers before ‘Widget’
../exim_monitor/em_StripChart.c:221: error: expected declaration specifiers before ‘XEvent’
../exim_monitor/em_StripChart.c:222: error: expected declaration specifiers before ‘Region’
../exim_monitor/em_StripChart.c:224: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:224: error: ‘GraphicsExpose’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:225: error: ‘StripChartWidget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:225: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:228: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c: In function ‘draw_it’:
../exim_monitor/em_StripChart.c:235: error: expected declaration specifiers before ‘XtPointer’
../exim_monitor/em_StripChart.c:236: error: expected declaration specifiers before ‘XtIntervalId’
../exim_monitor/em_StripChart.c:238: error: ‘StripChartWidget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:238: error: expected ‘;’ before ‘w’
../exim_monitor/em_StripChart.c:241: error: ‘w’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:243: error: ‘Widget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:243: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:247: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:254: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:270: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:285: error: ‘CoordModePrevious’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c: In function ‘repaint_window’:
../exim_monitor/em_StripChart.c:306: error: expected declaration specifiers before ‘StripChartWidget’
../exim_monitor/em_StripChart.c:310: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:311: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:316: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:316: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:317: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:318: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:319: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:323: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:324: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:327: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:331: error: ‘Widget’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:331: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:336: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:337: error: ‘Display’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:337: error: ‘dpy’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:338: error: ‘Window’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:338: error: expected ‘;’ before ‘win’
../exim_monitor/em_StripChart.c:347: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:348: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:348: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:349: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:351: error: ‘win’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:351: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:353: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:357: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:358: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:358: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:359: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c: At top level:
../exim_monitor/em_StripChart.c:373: error: expected ‘)’ before ‘w’
../exim_monitor/em_StripChart.c:433: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SetValues’
../exim_monitor/em_StripChart.c:435: error: expected identifier or ‘(’ before ‘{’ token
../exim_monitor/em_StripChart.c: In function ‘SetPoints’:
../exim_monitor/em_StripChart.c:481: error: expected declaration specifiers before ‘StripChartWidget’
../exim_monitor/em_StripChart.c:483: error: ‘XPoint’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:483: error: ‘points’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:484: error: ‘Cardinal’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:484: error: expected ‘;’ before ‘size’
../exim_monitor/em_StripChart.c:487: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:488: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:489: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:493: error: ‘size’ undeclared (first use in this function)
../exim_monitor/em_StripChart.c:493: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:495: error: expected expression before ‘)’ token
../exim_monitor/em_StripChart.c:496: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:500: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:502: error: invalid type argument of ‘->’ (have ‘int’)
../exim_monitor/em_StripChart.c:502: error: invalid type argument of ‘->’ (have ‘int’)
make[1]: *** [em_StripChart.o] Error 1
make[1]: Leaving directory `/source/exim-4.82/build-Linux-i386'
make: *** [all] Error 2
need help
./exim: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
*** Could not run ./exim to find version number ***
*** Exim installation failed ***
make: *** [install] Error 1
You say you want to 'learn' things...yet don't seem to put much effort into doing any sort of research, or paying attention to what you're told/asked. If you put the library name into Google, you would see that the libpcre package is what provides it....very obviously, you need to INSTALL THE MISSING LIBRARY. So, we AGAIN go back to "download THAT source code, read the instructions, and install it". Pay attention to this step: YOU WILL NEED TO REPEAT THIS PROCESS for each and every source code package you install, for EACH dependency.
Which brings us back to YOU NEED TO INSTALL PACKAGES, AND YOU HAVE NOT EVER TOLD US WHAT VERSION/DISTRO OF LINUX YOU'RE USING. The answer that you are working for a company that specifically tells you to do it from source, is HIGHLY doubtful, for reasons explained to you previously. It is FAR more likely that you are using a commercial distro of Linux, which you are not paying for, which would explain why you can't use the package management utilities.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.