Wed Jan 19 23:17:47 2005

Ticket #559 (Closed: )

xmlrpc++ install.sh stop's


Priority: normal Reporter: fransman
Severity: minor Assigned to: anonymous
Component: bug Status: closed
Version: 1.0 Resolution:  
Milestone: 1.0 Keywords:  

Description by fransman:

configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: Makefile.in make: *** No rule to make target `install'. Stop. ADDITIONAL INFORMATION: [root@lnxsrv2 bin]# ./install.sh installing xmlrpc++-20040713 from /livesupport/tools/xmlrpc++/xmlrpc++-20040713 to /livesupport/usr patching file Makefile patching file Makefile.am patching file autogen.sh patching file configure.in patching file src/Makefile.am patching file src/XmlRpcSource?.cpp patching file src/XmlRpcValue?.cpp Generating configuration files for darkice, please wait.... aclocal autoheader libtoolize --automake automake --add-missing configure.in: installing `./install-sh' configure.in: installing `./missing' src/Makefile.am: installing `./depcomp' Makefile.am: installing `./INSTALL' Makefile.am: required file `./NEWS' not found Makefile.am: required file `./README' not found Makefile.am: required file `./AUTHORS' not found Makefile.am: required file `./ChangeLog' not found autoconf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for SSL_connect in -lssl... yes configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: Makefile.in make: *** No rule to make target `install'. Stop.

Attachments

Changelog

Sun Jan 23 19:41:42 2005: Modified by fransman

    When i use automake 1.7 with an export from ~/bin, no stop error any more. mkdir ~/bin cp /usr/bin/aclocal-1.7 ~/bin/aclocal cp /usr/bin/automake-1.7 ~/bin/automake export PATH=~/bin:$PATH After setup and compile of the main makefile i get an error with make check. The scheduler make check with an XmlRpcServer? call goes to bindAndListen and generate "Could not bind to specified port (error 98)" The file part goes well from my point view - i think this is be from the the web part of the call.

    Mon Jan 24 11:37:08 2005: Modified by fransman

      [root@lnxsrv2 gLiveSupport]# make start make -C ./../../products/scheduler start_web make[1]: Entering directory `/livesupport/products/scheduler' ./tmp/scheduler -c ./etc/scheduler- web.xml start using config file './etc/scheduler-web.xml' sleep 2 XmlRpcServer?::bindAndListen: Could not bind to specified port (error 98). make[1]: Leaving directory `/livesupport/products/scheduler' [root@lnxsrv2 gLiveSupport]#

      Mon Jan 24 13:04:20 2005: Modified by fgerlits

        This sounds like a problem I had earlier: you might have a scheduler daemon stuck running. Check with 'ps ax | grep sch'. If you see lines with ./tmp/scheduler, then you need to kill them: 'killall scheduler', wait 2 seconds, and 'killall scheduler' again. If this fails, try 'killall -9 scheduler'. You'll see a 'could not accept connection (error 11)' error; this is normal.

        Mon Jan 24 14:43:52 2005: Modified by fransman

          if i do an [root@lnxsrv2 ~]# ps ax | grep sch 5817 pts/0 S+ 0:00 grep sch i get only my own one back.

          Mon Jan 24 15:52:19 2005: Modified by fgerlits

            Then I don't know what's wrong. Do you get the same error if you run make check in products/scheduler?

            Mon Jan 24 16:23:59 2005: Modified by fransman

              From scheduler an make check no error for xmlrpc. But if i do an make start from scheduler it goes sometime well - but if i do an make start_web ill get always the same error. Ill do have an error with make check from scheduler but that's got to do with already created table's. [root@lnxsrv2 scheduler]# make check ./tmp/scheduler -c ./etc/scheduler.xml start using config file './etc/scheduler.xml' sleep 2 ./tmp/testRunner -o ./doc/testResults.xml -s ../etc/testResultToHtml.xsl writing output to './doc/testResults.xml' using XSLT file '../etc/testResultToHtml.xsl' LiveSupport::Scheduler::RpcUploadPlaylistTest?::simpleTestError executing "CREATE TABLE schedule ( id BIGINT NOT NULL, playlist BIGINT NOT NULL, starts TIMESTAMP NOT NULL, ends TIMESTAMP NOT NULL, PRIMARY KEY(id) );": [unixODBC]Error while executing the query (non-fatal); ERROR: relation "schedule" already exists terminate called after throwing an instance of 'std::logic_error' what(): Error executing "CREATE TABLE playLog ( id BIGINT NOT NULL, audioClipId BIGINT NOT NULL, timestamp TIMESTAMP NOT NULL, PRIMARY KEY(id) );": [unixODBC]Error while executing the query (non-fatal); ERROR: relation "playlog" already exists make: *** [run_tests] Aborted [root@lnxsrv2 scheduler]# make start_web ./tmp/scheduler -c ./etc/scheduler-web.xml start using config file './etc/scheduler-web.xml' sleep 2 XmlRpcServer?::bindAndListen: Could not bind to specified port (error 98).

              Mon Jan 24 18:17:38 2005: Modified by fgerlits

                Do all the module tests run OK? (Especially WebAuthenticationClientTest? in modules/authentication and WebStorageClientTest? in modules/storage?) The already existing tables are OK. After a 'make check' fails, you need to run 'make stop' to stop the scheduler daemon and 'make uninstall' to get rid of the tables.

                Mon Jan 24 20:31:23 2005: Modified by fransman

                  OK (6) [root@lnxsrv2 authentication]# OK (15) [root@lnxsrv2 storage]# According to me everything goes ok. Certainly to know, i have made a log and start script ./startmake.sh for for night processing - i zip and attached the one's. make distclean >& log/distclean_before_setup.log #make tools_setup >& log/tools_setup.log make doxytag_setup >& log/doxytag_setup.log make modules_setup >& log/modules_setup.log make products_setup >& log/products_setup.log make compile >& log/compile.log make check >& log/check.log

                  Tue Jan 25 11:26:01 2005: Modified by fgerlits

                    I still don't know. Try doing things one at a time. First, go to products/scheduler, kill all possibly running scheduler programs, run 'make uninstall', and then 'make check'. What happens? After this, do the same in modules/schedulerClient. What happens here? You seem to have some problem with the php modules, too -- though it does not seem to break anything. Check whether you have the necessary PEAR modules (see https://www.campware.org/public_html/doc/gettingStarted.html), and then go to modules/storageServer and run 'make check'. If there are any error messages, make a separate bug report of this and assign it to Tomas.

                    Tue Jan 25 12:11:40 2005: Modified by fransman

                      Oke - thanks , i will try doing things one at a time.

                      Tue Jan 25 17:05:56 2005: Modified by fransman

                        The tests are goes well, the only error i get for both tests is be the same. XmlRpcServer?::bindAndListen: Could not bind to specified port (error 98) It has this way gone as you recommended, i have attached the results. For me it's not be possible assign these to Tomas - can you do that? The necessary PEAR modules have been installed.

                        Tue Jan 25 20:13:47 2005: Modified by fgerlits

                          You mean 'could not accept connection (error 11)'? Yes, that is OK. Both printouts look good; I don't know what went wrong earlier, but let's not worry about that. :)

                          Tue Jan 25 20:14:37 2005: Modified by fgerlits

                          • status changed from new to closed

                          Add/Change #559 (xmlrpc++ install.sh stop's)




                          Change Properties






                          Action